From: Adam Langley Date: Tue, 6 Mar 2012 22:18:09 +0000 (-0500) Subject: deps: allow crypto/x509 cgo and io/ioutil. X-Git-Tag: weekly.2012-03-13~175 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3ea3a7c9a5e0926940b341fde56f968de152edaf;p=gostls13.git deps: allow crypto/x509 cgo and io/ioutil. In order to land 5700087 (which moves the knowledge of how to get the root certificates for the system from crypto/tls to crypto/x509), we need to relax the restrictions on crypto/x509. Afterwards, we can probably tighten them up in crypto/tls. R=golang-dev, rsc, krautz CC=golang-dev https://golang.org/cl/5753060 --- diff --git a/src/pkg/go/build/deps_test.go b/src/pkg/go/build/deps_test.go index 89033e9c57..432f754d32 100644 --- a/src/pkg/go/build/deps_test.go +++ b/src/pkg/go/build/deps_test.go @@ -293,7 +293,7 @@ var pkgDeps = map[string][]string{ "L3", "CRYPTO-MATH", "CGO", "OS", "crypto/x509", "encoding/pem", "net", "syscall", }, - "crypto/x509": {"L3", "CRYPTO-MATH", "crypto/x509/pkix", "encoding/pem"}, + "crypto/x509": {"L3", "CRYPTO-MATH", "OS", "CGO", "crypto/x509/pkix", "encoding/pem"}, "crypto/x509/pkix": {"L3", "CRYPTO-MATH"}, // Simple net+crypto-aware packages.