diff --git a/src/pkg/crypto/x509/verify_test.go b/src/pkg/crypto/x509/verify_test.go index 1ed95fe6283..0381752e8de 100644 --- a/src/pkg/crypto/x509/verify_test.go +++ b/src/pkg/crypto/x509/verify_test.go @@ -35,7 +35,6 @@ var verifyTests = []verifyTest{ currentTime: 1302726541, dnsName: "www.google.com", testSystemRootsError: true, - systemSkip: true, // Without any roots specified we should get a system roots // error. @@ -214,6 +213,9 @@ func testVerify(t *testing.T, useSystemRoots bool) { if useSystemRoots && test.systemSkip { continue } + if runtime.GOOS == "windows" && test.testSystemRootsError { + continue + } opts := VerifyOptions{ Intermediates: NewCertPool(),