X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fevp%2Fp5_crpt.c;h=294cc90d878c19f98466d411048fecb1beab82e8;hb=701d593f7095db84459c76265349a83d30a4cae5;hp=7d9c1f012339a57d16c5d47ccb7e6f027f6c0d96;hpb=b6dcdbfc94c482f6c15ba725754fc9e827e41851;p=oweals%2Fopenssl.git 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; }