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 17:52:08 +0000 (19:52 +0200)
commitc2319cf9fce87a2e82efb6e58ced11a85190dc3d
treefd7a3d1980ab32e6d881e7101b7149733dcd78e6
parent3f6c7691870d1cd2ad0e0c83638cef3f35a0b548
Set salt length after the malloc has succeeded

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/pkcs12/p12_mutl.c