From e0791a3adfd7d42ef3f5b6b208156a2ee085b5cf Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Sat, 9 Feb 2013 13:51:39 -0500 Subject: [PATCH] crypto/x509: disable SCG test with system validation. On Windows, CryptoAPI is finding an alternative validation path. Since this is a little non-deterministic, this change disables that test when using system validation. R=golang-dev CC=golang-dev https://golang.org/cl/7313068 --- src/pkg/crypto/x509/verify_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pkg/crypto/x509/verify_test.go b/src/pkg/crypto/x509/verify_test.go index bb0587e2f6..5103ed814a 100644 --- a/src/pkg/crypto/x509/verify_test.go +++ b/src/pkg/crypto/x509/verify_test.go @@ -164,6 +164,9 @@ var verifyTests = []verifyTest{ roots: []string{comodoRoot}, currentTime: 1360431182, + // CryptoAPI can find alternative validation paths so we don't + // perform this test with system validation. + systemSkip: true, expectedChains: [][]string{ {"mega.co.nz", "EssentialSSL CA", "COMODO Certification Authority"}, }, -- 2.48.1