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:
parent
98a61d8e2e
commit
cd3cf55b47
@ -160,7 +160,8 @@ while (<TXT>) {
|
||||
}
|
||||
while (<TXT>) {
|
||||
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 ++;
|
||||
|
Loading…
Reference in New Issue
Block a user