]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/x509: disable SCG test with system validation.
authorAdam Langley <agl@golang.org>
Sat, 9 Feb 2013 18:51:39 +0000 (13:51 -0500)
committerAdam Langley <agl@golang.org>
Sat, 9 Feb 2013 18:51:39 +0000 (13:51 -0500)
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

index bb0587e2f6f32688bf797169be6895119d8df393..5103ed814aadd1fb394ee8bbac6151e6e49df497 100644 (file)
@@ -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"},
                },