diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-03-22 16:28:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-03-22 16:28:51 +0000 |
commit | c34137bef99fe5f4b3d8910b044777acbb44fbd9 (patch) | |
tree | 16a5fb064e634343cd40c191d80377d2b6dbe762 /crypto/evp | |
parent | 914d91c5b3b43e11b773d3fff009ed7965949d4b (diff) |
fix leak
Diffstat (limited to 'crypto/evp')
-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 7d9c1f0123..294cc90d87 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; } |