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
1 changed files with 2 additions and 1 deletions

View File

@ -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 ++;