// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build cgo,!arm
+// +build cgo,!arm,!arm64
package x509
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:generate go run root_darwin_arm_gen.go -output root_darwin_arm.go
+//go:generate go run root_darwin_arm_gen.go -output root_darwin_armx.go
package x509
// +build ignore
-// Generates root_darwin_arm.go.
+// Generates root_darwin_armx.go.
//
// As of iOS 8, there is no API for querying the system trusted X.509 root
// certificates. We could use SecTrustEvaluate to verify that a trust chain
"strings"
)
-var output = flag.String("output", "root_darwin_arm.go", "file name to write")
+var output = flag.String("output", "root_darwin_armx.go", "file name to write")
func main() {
certs, err := selectCerts()
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build darwin
+// +build arm arm64
+
package x509
func initSystemRoots() {
-// Created by root_darwin_arm_gen --output root_darwin_arm.go; DO NOT EDIT
+// Created by root_darwin_arm_gen --output root_darwin_armx.go; DO NOT EDIT
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build darwin
+// +build arm arm64
+
package x509
func initSystemRoots() {