From: Guenter Knauf Date: Tue, 20 Sep 2011 10:05:31 +0000 (+0200) Subject: Also skip certs masked as CKT_NSS_TRUST_UNKNOWN. X-Git-Tag: curl-7_23_0~179 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd3cf55b47332769a0e737feb9c5a6d48dce5de9;p=thirdparty%2Fcurl.git Also skip certs masked as CKT_NSS_TRUST_UNKNOWN. Fix posted by Tomas Hoger . --- diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl index 868e23843a..189ed01b6a 100755 --- a/lib/mk-ca-bundle.pl +++ b/lib/mk-ca-bundle.pl @@ -160,7 +160,8 @@ while () { } while () { last if (/^#$/); - $untrusted = 1 if (/^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_NOT_TRUSTED$/); + $untrusted = 1 if (/^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_NOT_TRUSTED$/ + or /^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_TRUST_UNKNOWN$/); } if ($untrusted) { $skipnum ++;