summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/x509/root_nocgo_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/x509/root_nocgo_darwin.go')
-rw-r--r--src/pkg/crypto/x509/root_nocgo_darwin.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pkg/crypto/x509/root_nocgo_darwin.go b/src/pkg/crypto/x509/root_nocgo_darwin.go
new file mode 100644
index 000000000..d00e25766
--- /dev/null
+++ b/src/pkg/crypto/x509/root_nocgo_darwin.go
@@ -0,0 +1,11 @@
+// Copyright 2013 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 !cgo
+
+package x509
+
+func initSystemRoots() {
+ systemRoots, _ = execSecurityRoots()
+}