A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bagder/curl/commit/51f0b798fa below:

Skip more untrusted certificates. · curl/curl@51f0b79 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+7

-5

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+7

-5

lines changed Original file line number Diff line number Diff line change

@@ -40,7 +40,7 @@

40 40

# If the OpenSSL commandline is not in search path you can configure it here!

41 41

my $openssl = 'openssl';

42 42 43 -

my $version = '1.18';

43 +

my $version = '1.19';

44 44 45 45

$opt_w = 76; # default base64 encoded lines length

46 46

@@ -185,8 +185,9 @@ ()

185 185

while (<TXT>) {

186 186

last if (/^#/);

187 187

if (/^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_NOT_TRUSTED$/

188 -

or /^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_TRUST_UNKNOWN$/) {

189 -

$untrusted = 1;

188 +

or /^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_TRUST_UNKNOWN$/

189 +

or /^CKA_TRUST_SERVER_AUTH\s+CK_TRUST\s+CKT_NSS_MUST_VERIFY_TRUST/) {

190 +

$untrusted = 1;

190 191

}

191 192

}

192 193

if ($untrusted) {

Original file line number Diff line number Diff line change

@@ -26,7 +26,7 @@

26 26

'* Hacked by Guenter Knauf

27 27

'***************************************************************************

28 28

Option Explicit

29 -

Const myVersion = "0.3.7"

29 +

Const myVersion = "0.3.8"

30 30 31 31

Const myUrl = "http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1"

32 32

@@ -131,7 +131,8 @@ For i = 0 To UBound(myLines)

131 131

While (i < UBound(myLines)) And Not (myLines(i) = "#")

132 132

i = i + 1

133 133

If (InstrRev(myLines(i), "CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_NOT_TRUSTED") Or _

134 -

InstrRev(myLines(i), "CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_TRUST_UNKNOWN")) Then

134 +

InstrRev(myLines(i), "CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_TRUST_UNKNOWN") Or _

135 +

InstrRev(myLines(i), "CKA_TRUST_SERVER_AUTH CK_TRUST CKT_NSS_MUST_VERIFY_TRUST")) Then

135 136

myUntrusted = TRUE

136 137

End If

137 138

Wend

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4