Set salt length after the malloc has succeeded
authorAlessandro Ghedini <alessandro@ghedini.me>
Thu, 8 Oct 2015 12:39:58 +0000 (14:39 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Oct 2015 18:39:25 +0000 (20:39 +0200)
commit61587d65eabb90d78aad46c674f14707f4407acf
tree1a67f87f47c8332e375920a4979c85a671682970
parent71d5679cd31f52472b1a42b12af2562edb05fb0f
Set salt length after the malloc has succeeded

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit c2319cf9fce87a2e82efb6e58ced11a85190dc3d)
crypto/pkcs12/p12_mutl.c