summaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2014-10-04 08:09:39 +1000
committerDave Cheney <dave@cheney.net>2014-10-04 08:09:39 +1000
commit380744f2b1ccabab859860de64da7896a74407cd (patch)
tree78287d81e8322f457f63fdf0d5d9528bc239e6f1 /src/crypto
parentcce8dfa1747a97e315667bc3adc4a00edaba0972 (diff)
downloadgo-380744f2b1ccabab859860de64da7896a74407cd.tar.gz
crypto/x509: add OpenELEC system root location.
Fixes issue 8349. LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/147320043
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/x509/root_unix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
index 10057c0c0..c65f626ac 100644
--- a/src/crypto/x509/root_unix.go
+++ b/src/crypto/x509/root_unix.go
@@ -15,6 +15,7 @@ var certFiles = []string{
"/etc/ssl/ca-bundle.pem", // OpenSUSE
"/etc/ssl/cert.pem", // OpenBSD
"/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
+ "/etc/pki/tls/cacert.pem", // OpenELEC
}
// Possible directories with certificate files; stop after successfully