]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: re-enable TestSystemRoots
authorFilippo Valsorda <hi@filippo.io>
Mon, 6 Aug 2018 22:38:38 +0000 (18:38 -0400)
committerFilippo Valsorda <filippo@golang.org>
Wed, 5 Dec 2018 22:54:01 +0000 (22:54 +0000)
commit9536c5fa69d619395015fcd526a979e17320b4b1
tree8a384622b6c1f00260a4395ddc7923e8c0092c66
parentaa2415807781ba84bf917c62cb983dc1a44f2ad1
crypto/x509: re-enable TestSystemRoots

Now that the cgo and no-cgo paths should be correct and equivalent,
re-enable the TestSystemRoots test without any margin of error (which
was tripping anyway when users had too many of a certain edge-case).

As a last quirk, the verify-cert invocation will validate certificates
that aren't roots, but are signed by valid roots. Ignore them.

Fixes #24652

Change-Id: I6a8ff3c2282136d7122a4e7e387eb8014da0d28a
Reviewed-on: https://go-review.googlesource.com/c/128117
TryBot-Result: Gobot Gobot <gobot@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/x509/root_darwin_test.go