PKCS12_gen_mac
if (!PKCS12_gen_mac(p12, newpass, -1, mac, &maclen))
int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen,