1
0
mirror of https://github.com/golang/go synced 2024-11-08 06:36:14 -07:00
go/src/crypto/x509
Martin Möhrmann 0fb0f575bc crypto/x509: skip TestSystemRoots
golang.org/cl/36941 enabled loading of all trusted certs on darwin
for the non-cgo execSecurityRoots.

The corresponding cgo version golang.org/cl/36942 for systemRootsPool
has not been merged yet.

This tests fails reliably on some darwin systems:
--- FAIL: TestSystemRoots (1.28s)
        root_darwin_test.go:31:     cgo sys roots: 353.552363ms
        root_darwin_test.go:32: non-cgo sys roots: 921.85297ms
        root_darwin_test.go:44: got 169 roots
        root_darwin_test.go:44: got 455 roots
        root_darwin_test.go:73: insufficient overlap between cgo and non-cgo roots; want at least 227, have 168
FAIL
FAIL    crypto/x509     2.445s

Updates #16532
Updates #21416

Change-Id: I52c2c847651fb3621fdb6ab858ebe8e28894c201
Reviewed-on: https://go-review.googlesource.com/57830
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2017-08-22 19:54:08 +00:00
..
pkix
testdata crypto/x509: load certs from env vars + extra locations 2017-05-03 15:39:29 +00:00
cert_pool.go crypto/x509: revert SystemCertPool implementation for Windows 2017-01-18 05:41:15 +00:00
example_test.go
pem_decrypt_test.go
pem_decrypt.go
pkcs1.go crypto/x509: rename and reposition rsaPublicKey struct declaration 2017-03-07 16:49:28 +00:00
pkcs8_test.go crypto/x509: add MarshalPKCS8PrivateKey 2017-08-15 18:43:32 +00:00
pkcs8.go crypto/x509: add MarshalPKCS8PrivateKey 2017-08-15 18:43:32 +00:00
root_bsd.go crypto/x509: load certs from env vars + extra locations 2017-05-03 15:39:29 +00:00
root_cgo_darwin.go
root_darwin_arm_gen.go
root_darwin_armx.go
root_darwin_test.go crypto/x509: skip TestSystemRoots 2017-08-22 19:54:08 +00:00
root_darwin.go crypto/x509: load all trusted certs on darwin (nocgo) 2017-07-14 18:47:10 +00:00
root_linux.go crypto/x509: check for new tls-ca-bundle.pem last 2017-02-07 17:19:05 +00:00
root_nacl.go
root_nocgo_darwin.go
root_plan9.go
root_solaris.go
root_unix_test.go crypto/x509: improve internal comment 2017-06-29 05:50:37 +00:00
root_unix.go crypto/x509: load certs from env vars + extra locations 2017-05-03 15:39:29 +00:00
root_windows.go crypto/x509: revert SystemCertPool implementation for Windows 2017-01-18 05:41:15 +00:00
root.go
sec1_test.go
sec1.go crypto/x509: add MarshalPKCS8PrivateKey 2017-08-15 18:43:32 +00:00
sha2_windows_test.go
test-file.crt crypto/x509: load certs from env vars + extra locations 2017-05-03 15:39:29 +00:00
verify_test.go crypto/x509: support excluded domains in name constraints. 2017-06-13 18:33:29 +00:00
verify.go crypto/x509: support excluded domains in name constraints. 2017-06-13 18:33:29 +00:00
x509_test_import.go
x509_test.go crypto/x509: support excluded domains in name constraints. 2017-06-13 18:33:29 +00:00
x509.go crypto/x509: add PublicKeyAlgorithm.String() 2017-08-15 18:44:54 +00:00