projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a61d8
)
Also skip certs masked as CKT_NSS_TRUST_UNKNOWN.
author
Guenter Knauf
<lists@gknw.net>
Tue, 20 Sep 2011 10:05:31 +0000
(12:05 +0200)
committer
Guenter Knauf
<lists@gknw.net>
Tue, 20 Sep 2011 10:05:31 +0000
(12:05 +0200)
Fix posted by Tomas Hoger <thoger redhat com>.
lib/mk-ca-bundle.pl
patch
|
blob
|
history
diff --git
a/lib/mk-ca-bundle.pl
b/lib/mk-ca-bundle.pl
index
868e238
..
189ed01
100755
(executable)
--- a/
lib/mk-ca-bundle.pl
+++ b/
lib/mk-ca-bundle.pl
@@
-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 ++;