Avoid leak in error path of PKCS5_PBE_keyivgen
authorkinichiro <kinichiro.inoguchi@gmail.com>
Sun, 12 Jan 2020 08:35:39 +0000 (17:35 +0900)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 6 Feb 2020 16:21:31 +0000 (17:21 +0100)
commit6527714c25a4266504e323395fd9ffd1bccb2041
tree82c77f26a0e05d0a731b3f9efa1246bff80aafa2
parent3948408f2a6370556d833dc4947ffaaca82ebb78
Avoid leak in error path of PKCS5_PBE_keyivgen

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10816)

(cherry picked from commit adc9086beb21a91ca59aaf0c619b38b82c223f9b)
crypto/evp/p5_crpt.c