Skip to content
Commit 29f4c357 authored by Matt Caswell's avatar Matt Caswell
Browse files

Don't leak memory on error in cms_RecipientInfo_pwri_crypt



The cms_RecipientInfo_pwri_crypt() allocated an EVP_CIPHER_CTX but then
failed to free it in some error paths. By allocating it a bit later that
can be avoided.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent d71eb667
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment