提交 4aeb94b8 编写于 作者: D Dr. Stephen Henson

Oops! Get the pmatch test the right way round.

上级 b975f15d
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册