]> Cypherpunks.ru repositories - gostls13.git/commit
crypto/x509: use the platform verifier on iOS
authorRoland Shoemaker <roland@golang.org>
Fri, 1 Oct 2021 16:14:10 +0000 (09:14 -0700)
committerRoland Shoemaker <roland@golang.org>
Sat, 6 Nov 2021 00:29:44 +0000 (00:29 +0000)
commitb74f2efc47bbfcc4aa301ebda1033948d8b6b63e
tree56a2197d82e1e9b059eb4d576774a45eabaf2c1e
parent09e8de70c2ee36d99ba02389da0fe2e203879022
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>
src/cmd/dist/test.go
src/crypto/x509/cert_pool.go
src/crypto/x509/root_darwin.go
src/crypto/x509/root_ios.go [deleted file]
src/crypto/x509/root_ios_gen.go [deleted file]
src/crypto/x509/root_omit.go [deleted file]
src/crypto/x509/root_omit_test.go [deleted file]
src/crypto/x509/verify.go
src/crypto/x509/verify_test.go
src/crypto/x509/x509_test.go