projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85c9ba2
)
Fix memory leak.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 11 Nov 2013 22:39:40 +0000
(22:39 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 11 Nov 2013 22:39:40 +0000
(22:39 +0000)
crypto/evp/p5_crpt2.c
patch
|
blob
|
history
diff --git
a/crypto/evp/p5_crpt2.c
b/crypto/evp/p5_crpt2.c
index cf26085c1a20d6a3c404a3e6db92357547b22053..fe3c6c8813cb2742c75df23d31418b4985316fa9 100644
(file)
--- a/
crypto/evp/p5_crpt2.c
+++ b/
crypto/evp/p5_crpt2.c
@@
-129,6
+129,7
@@
int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
HMAC_CTX_cleanup(&hctx);
return 0;
}
+ HMAC_CTX_cleanup(&hctx);
memcpy(p, digtmp, cplen);
for(j = 1; j < iter; j++)
{