diff options
author | Roland Shoemaker <roland@golang.org> | 2021-10-01 09:14:10 -0700 |
---|---|---|
committer | Roland Shoemaker <roland@golang.org> | 2021-11-06 00:29:44 +0000 |
commit | b74f2efc47bbfcc4aa301ebda1033948d8b6b63e (patch) | |
tree | 56a2197d82e1e9b059eb4d576774a45eabaf2c1e /src/cmd/dist | |
parent | 09e8de70c2ee36d99ba02389da0fe2e203879022 (diff) | |
download | go-b74f2efc47bbfcc4aa301ebda1033948d8b6b63e.tar.gz go-b74f2efc47bbfcc4aa301ebda1033948d8b6b63e.zip |
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')
-rw-r--r-- | src/cmd/dist/test.go | 11 |
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{ |