From: Adam Langley Date: Sat, 9 Feb 2013 18:51:39 +0000 (-0500) Subject: crypto/x509: disable SCG test with system validation. X-Git-Tag: go1.1rc2~1092 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e0791a3adfd7d42ef3f5b6b208156a2ee085b5cf;p=gostls13.git 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 --- 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"}, },