From: Russ Cox Date: Wed, 22 Jul 2015 17:11:54 +0000 (-0400) Subject: crypto/x509: disable sha2 test with system APIs X-Git-Tag: go1.5beta3~120 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a502fb21820aed165a24a00e969e8cc7735ff09d;p=gostls13.git crypto/x509: disable sha2 test with system APIs Fixes #11730. Change-Id: I5bc60779a87dc07899dd70659a830996bf7812ca Reviewed-on: https://go-review.googlesource.com/12527 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/crypto/x509/verify_test.go b/src/crypto/x509/verify_test.go index 20a3e31878..694c14023b 100644 --- a/src/crypto/x509/verify_test.go +++ b/src/crypto/x509/verify_test.go @@ -221,6 +221,10 @@ var verifyTests = []verifyTest{ currentTime: 1397502195, dnsName: "api.moip.com.br", + // CryptoAPI can find alternative validation paths so we don't + // perform this test with system validation. + systemSkip: true, + sha2: true, expectedChains: [][]string{ {