A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/cloudflare/cfssl/commit/10ed8daa8bb427c5ac7d133c1b449476e76c954d below:

Correctly check for different golang versions #1076 (#1083) · cloudflare/cfssl@10ed8da · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-1

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

@@ -240,7 +240,8 @@ func TestWrap(t *testing.T) {

240 240

if err.ErrorCode != int(CertificateError)+int(VerifyFailed)+certificateInvalid+int(x509.Expired) {

241 241

t.Fatal("Error code construction failed.")

242 242

}

243 -

if err.Message != "x509: certificate has expired or is not yet valid" {

243 +

errorString := "x509: certificate has expired or is not yet valid:"

244 +

if err.Message[:49] != errorString[:49] {

244 245

t.Fatal("Error message construction failed.")

245 246

}

246 247

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