summaryrefslogtreecommitdiff
path: root/thirdparty/openssl/crypto/lhash/lhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/openssl/crypto/lhash/lhash.c')
-rw-r--r--thirdparty/openssl/crypto/lhash/lhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/openssl/crypto/lhash/lhash.c b/thirdparty/openssl/crypto/lhash/lhash.c
index 53c5c138bb..f20353aea3 100644
--- a/thirdparty/openssl/crypto/lhash/lhash.c
+++ b/thirdparty/openssl/crypto/lhash/lhash.c
@@ -335,8 +335,8 @@ static void expand(_LHASH *lh)
n = (LHASH_NODE **)OPENSSL_realloc(lh->b,
(int)(sizeof(LHASH_NODE *) * j));
if (n == NULL) {
-/* fputs("realloc error in lhash",stderr); */
lh->error++;
+ lh->num_nodes--;
lh->p = 0;
return;
}