Oops! Get the pmatch test the right way round.
This commit is contained in:
parent
b975f15d54
commit
4aeb94b801
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue