From 4aeb94b80173c25fbf2f01eef8c4764a4bdfecf2 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 16 May 1999 21:50:26 +0000 Subject: [PATCH] Oops! Get the pmatch test the right way round. --- apps/pkcs12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.34.1