summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsteve <steve>2012-03-22 16:28:21 +0000
committersteve <steve>2012-03-22 16:28:21 +0000
commit40ac3d09c170cb451feb1b65626c0ef30f2990f3 (patch)
tree4701749c40002c21310c74418bbad38d68e423f9
parent25ac79f1cdd2eb2ab6fcdc017457d5ab8f965bee (diff)
downloadopenssl-OpenSSL_1_0_2-stable.tar.gz
-rw-r--r--crypto/evp/p5_crpt.c1
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;
}