fix leak
This commit is contained in:
parent
914d91c5b3
commit
c34137bef9
@ -138,5 +138,6 @@ int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
|
|||||||
OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
|
OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH);
|
||||||
rv = 1;
|
rv = 1;
|
||||||
err:
|
err:
|
||||||
|
EVP_MD_CTX_cleanup(&ctx);
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user