]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: tidy darwin/arm64 build tags
authorAustin Clements <austin@google.com>
Wed, 8 Apr 2020 16:16:38 +0000 (12:16 -0400)
committerAustin Clements <austin@google.com>
Wed, 8 Apr 2020 19:25:32 +0000 (19:25 +0000)
commitf4827240dbd29d0c1c308b07c3406f600d5ef82b
tree04674d0c83915fe2a1adf021afe26ac06a23308d
parent52dc1f42b3e30efd0a81f9c0315f9b5ed9f6ec4e
crypto/x509: tidy darwin/arm64 build tags

The cgo build tag is not necessary for root_darwin_arm64.go. We can't
build for darwin/arm64 without cgo, and even if we did 1) this code
would work fine 2) the no-cgo code that shells out to
/usr/bin/security would not work.

(Suggested by Filippo.)

Change-Id: I98cac2ea96ec5ac1ae60b7e32d195d5e86e2bd66
Reviewed-on: https://go-review.googlesource.com/c/go/+/227583
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/x509/root_darwin_arm64.go
src/crypto/x509/root_darwin_arm_gen.go