diff options
author | Dave Cheney <dave@cheney.net> | 2014-10-04 08:09:39 +1000 |
---|---|---|
committer | Dave Cheney <dave@cheney.net> | 2014-10-04 08:09:39 +1000 |
commit | 380744f2b1ccabab859860de64da7896a74407cd (patch) | |
tree | 78287d81e8322f457f63fdf0d5d9528bc239e6f1 /src | |
parent | cce8dfa1747a97e315667bc3adc4a00edaba0972 (diff) | |
download | go-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')
-rw-r--r-- | src/crypto/x509/root_unix.go | 1 |
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 |