aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/test.go
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2021-10-01 09:14:10 -0700
committerRoland Shoemaker <roland@golang.org>2021-11-06 00:29:44 +0000
commitb74f2efc47bbfcc4aa301ebda1033948d8b6b63e (patch)
tree56a2197d82e1e9b059eb4d576774a45eabaf2c1e /src/cmd/dist/test.go
parent09e8de70c2ee36d99ba02389da0fe2e203879022 (diff)
downloadgo-b74f2efc47bbfcc4aa301ebda1033948d8b6b63e.tar.xz
crypto/x509: use the platform verifier on iOS
Use the same certificate verification APIs on iOS as on macOS (they share the same APIs, so we should be able to transparently use them on both.) Updates #46287 Fixes #38843 Change-Id: If70f99b0823dd5fa747c42ff4f20c3b625605327 Reviewed-on: https://go-review.googlesource.com/c/go/+/353403 Trust: Roland Shoemaker <roland@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r--src/cmd/dist/test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 98e30a158f..aea1ee6f25 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -499,17 +499,6 @@ func (t *tester) registerTests() {
})
}
- if t.iOS() && !t.compileOnly {
- t.tests = append(t.tests, distTest{
- name: "x509omitbundledroots",
- heading: "crypto/x509 without bundled roots",
- fn: func(dt *distTest) error {
- t.addCmd(dt, "src", t.goTest(), t.timeout(300), "-tags=x509omitbundledroots", "-run=OmitBundledRoots", "crypto/x509")
- return nil
- },
- })
- }
-
// Test ios/amd64 for the iOS simulator.
if goos == "darwin" && goarch == "amd64" && t.cgoEnabled {
t.tests = append(t.tests, distTest{