summaryrefslogtreecommitdiff
path: root/libgo/go/crypto/x509/root_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/x509/root_stub.go')
-rw-r--r--libgo/go/crypto/x509/root_stub.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/libgo/go/crypto/x509/root_stub.go b/libgo/go/crypto/x509/root_stub.go
new file mode 100644
index 00000000000..568004108b5
--- /dev/null
+++ b/libgo/go/crypto/x509/root_stub.go
@@ -0,0 +1,15 @@
+// Copyright 2011 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 plan9 darwin,!cgo
+
+package x509
+
+func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
+ return nil, nil
+}
+
+func initSystemRoots() {
+ systemRoots = NewCertPool()
+}