Oops! Get the pmatch test the right way round.

This commit is contained in:
Dr. Stephen Henson 1999-05-16 21:50:26 +00:00
parent b975f15d54
commit 4aeb94b801

View file

@ -398,7 +398,7 @@ if (export_cert) {
cpass, -1, NULL, 0, iter, p8);
PKCS8_PRIV_KEY_INFO_free(p8);
if (name) PKCS12_add_friendlyname (bag, name, -1);
if(!pmatch) PKCS12_add_localkeyid (bag, keyid, keyidlen);
if(pmatch) PKCS12_add_localkeyid (bag, keyid, keyidlen);
bags = sk_new(NULL);
sk_push (bags, (char *)bag);
/* Turn it into unencrypted safe bag */