summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorsteve <steve>2012-03-22 16:28:07 +0000
committersteve <steve>2012-03-22 16:28:07 +0000
commit88dbd5656e7b360797ebd394a29450874905cf93 (patch)
treecf226155b3dcab12c2cbbf306d3a814c3948f7cf /crypto
parent4b5d170c4b926036ccf07ac90759e337d25f4264 (diff)
downloadopenssl-88dbd5656e7b360797ebd394a29450874905cf93.tar.gz
Diffstat (limited to 'crypto')
-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;
}