Don't leak memory on error in PKCS12_key_gen_uni
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 13:06:40 +0000 (14:06 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 28 Apr 2016 12:13:09 +0000 (13:13 +0100)
commit460c5e1d2f7388216f12d345d13202381b30e2a3
tree387293d511d7da14cb7a7cd9175dd4a69f118a15
parent8e588e2812f82419fb177e42480b4edffc676070
Don't leak memory on error in PKCS12_key_gen_uni

The PKCS12_key_gen_uni() had one error path which did not free memory
correctly.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/pkcs12/p12_key.c