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:
f404acf
)
fix leak
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 22 Mar 2012 16:28:07 +0000
(16:28 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 22 Mar 2012 16:28:07 +0000
(16:28 +0000)
crypto/evp/p5_crpt.c
patch
|
blob
|
history
diff --git
a/crypto/evp/p5_crpt.c
b/crypto/evp/p5_crpt.c
index 7d9c1f012339a57d16c5d47ccb7e6f027f6c0d96..294cc90d878c19f98466d411048fecb1beab82e8 100644
(file)
--- a/
crypto/evp/p5_crpt.c
+++ b/
crypto/evp/p5_crpt.c
@@
-138,5
+138,6
@@
int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
rv = 1;
err:
+ EVP_MD_CTX_cleanup(&ctx);
return rv;
}