aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@google.com>2011-11-29 09:20:59 -0500
committerAdam Langley <agl@golang.org>2011-11-29 09:20:59 -0500
commit175e60a2ad47f477e5e3bfed83beaa9fe6a5ac85 (patch)
treeae04a38cf810eb7c04a0e04b82c7519fa6332d04
parent882368939c3dc0e5a938bf9ca9f203391d88ffe9 (diff)
downloadgo-175e60a2ad47f477e5e3bfed83beaa9fe6a5ac85.tar.gz
go-175e60a2ad47f477e5e3bfed83beaa9fe6a5ac85.zip
crypto/tls: add openbsd root certificate location
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5437079
-rw-r--r--src/pkg/crypto/tls/root_unix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/crypto/tls/root_unix.go b/src/pkg/crypto/tls/root_unix.go
index 095beec104..1b9aeb03b5 100644
--- a/src/pkg/crypto/tls/root_unix.go
+++ b/src/pkg/crypto/tls/root_unix.go
@@ -14,6 +14,7 @@ var certFiles = []string{
"/etc/ssl/certs/ca-certificates.crt", // Linux etc
"/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL
"/etc/ssl/ca-bundle.pem", // OpenSUSE
+ "/etc/ssl/cert.pem", // OpenBSD
}
func initDefaultRoots() {