diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-05-16 21:50:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-05-16 21:50:26 +0000 |
commit | 4aeb94b80173c25fbf2f01eef8c4764a4bdfecf2 (patch) | |
tree | 9f973463cecff4d939cfc681ac34a21ce71f3567 /apps | |
parent | b975f15d544eb932dfa523cfa299f6bd72725387 (diff) |
Oops! Get the pmatch test the right way round.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pkcs12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 8ead8bc4aa..6a70d9b47c 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -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 */ |