Don't leak EVP_KDF_CTX on error
authorMatt Caswell <matt@openssl.org>
Sun, 17 Feb 2019 16:13:08 +0000 (16:13 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 18 Feb 2019 09:44:09 +0000 (09:44 +0000)
commit4c3941c2eb22c44398bccb50dbd019530bb01c7d
tree5d871a31c9f6ca7ef7ee790131812cd5968695f5
parent3037d0aadf7c0230021aa73e1f3db0d9f25008a9
Don't leak EVP_KDF_CTX on error

Found by Coverity

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/8260)
crypto/evp/pbe_scrypt.c