forked from rpms/openssl
ac312e8ff7
Resolves: rhbz#2089444
14 lines
343 B
Diff
14 lines
343 B
Diff
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c
|
|
index 2a574fbfe6aa..16f482db68a9 100644
|
|
--- a/crypto/lhash/lhash.c
|
|
+++ b/crypto/lhash/lhash.c
|
|
@@ -100,6 +100,8 @@ void OPENSSL_LH_flush(OPENSSL_LHASH *lh)
|
|
}
|
|
lh->b[i] = NULL;
|
|
}
|
|
+
|
|
+ lh->num_items = 0;
|
|
}
|
|
|
|
void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data)
|