diff options
author | steve <steve> | 2012-03-22 16:28:51 +0000 |
---|---|---|
committer | steve <steve> | 2012-03-22 16:28:51 +0000 |
commit | 52b50d1e6c6abc0c5caf773220c711a868a8f092 (patch) | |
tree | a774e7d5a63e06e07cd920e364a16da63f73e6ec | |
parent | 82042007163beb923849b4f722001dce54266855 (diff) | |
download | openssl-OpenSSL_1_0_1-stable.tar.gz |
fix leakOpenSSL_1_0_1-stable
-rw-r--r-- | crypto/evp/p5_crpt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/evp/p5_crpt.c b/crypto/evp/p5_crpt.c index 7d9c1f012..294cc90d8 100644 --- 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; } |