summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/lhash/lhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/lhash/lhash.c')
-rw-r--r--crypto/openssl/crypto/lhash/lhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/lhash/lhash.c b/crypto/openssl/crypto/lhash/lhash.c
index 53c5c13..f20353a 100644
--- a/crypto/openssl/crypto/lhash/lhash.c
+++ b/crypto/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;
}
OpenPOWER on IntegriCloud