d2i_PKCS12_bio
p12 = d2i_PKCS12_bio(in, NULL);
if ((p12 = d2i_PKCS12_bio(in, NULL)) == NULL) {
PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12);