From: Russ Cox Date: Wed, 14 Dec 2011 15:25:48 +0000 (-0500) Subject: crypto/tls: make compatible with go/build X-Git-Tag: weekly.2011-12-14~20 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d842acd57ed2633478cb46bbb4c18271ec62f36a;p=gostls13.git crypto/tls: make compatible with go/build R=golang-dev, r CC=golang-dev https://golang.org/cl/5484073 --- 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 (