1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Also skip certs masked as CKT_NSS_TRUST_UNKNOWN.

Fix posted by Tomas Hoger <thoger redhat com>.
This commit is contained in:
Guenter Knauf 2011-09-20 12:05:31 +02:00
parent 98a61d8e2e
commit cd3cf55b47

View File

@ -160,7 +160,8 @@ while (<TXT>) {
} }
while (<TXT>) { while (<TXT>) {
last if (/^#$/); 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) { if ($untrusted) {
$skipnum ++; $skipnum ++;