aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-14 10:25:48 -0500
committerRuss Cox <rsc@golang.org>2011-12-14 10:25:48 -0500
commitd842acd57ed2633478cb46bbb4c18271ec62f36a (patch)
tree72939702c10f0b32eae4a0b8977c43f30ae9a1d6
parent23cd406496827a7f14ada2a0756c3edd129b0218 (diff)
downloadgo-d842acd57ed2633478cb46bbb4c18271ec62f36a.tar.gz
go-d842acd57ed2633478cb46bbb4c18271ec62f36a.zip
crypto/tls: make compatible with go/build
R=golang-dev, r CC=golang-dev https://golang.org/cl/5484073
-rw-r--r--src/pkg/crypto/tls/root_stub.go2
-rw-r--r--src/pkg/crypto/tls/root_unix.go2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/crypto/tls/root_stub.go b/src/pkg/crypto/tls/root_stub.go
index 1903eed813..18dcb02043 100644
--- a/src/pkg/crypto/tls/root_stub.go
+++ b/src/pkg/crypto/tls/root_stub.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build plan9
+
package tls
func initDefaultRoots() {
diff --git a/src/pkg/crypto/tls/root_unix.go b/src/pkg/crypto/tls/root_unix.go
index 1b9aeb03b5..5bbd9825dc 100644
--- a/src/pkg/crypto/tls/root_unix.go
+++ b/src/pkg/crypto/tls/root_unix.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build freebsd linux openbsd netbsd
+
package tls
import (