You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
832 B

10 years ago
Index: src/crypto/x509/root_unix.go
--- src/crypto/x509/root_unix.go.orig 2014-12-11 07:41:39.258030000 +0100
+++ src/crypto/x509/root_unix.go 2014-12-11 07:42:04.127622076 +0100
@@ -10,13 +10,7 @@
// Possible certificate files; stop after finding one.
var certFiles = []string{
- "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
- "/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL
- "/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
- "/etc/certs/ca-certificates.crt", // Solaris 11.2+
+ "@l_prefix@/etc/x509/public-ca.crt.pem",
}
// Possible directories with certificate files; stop after successfully