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.
 
 
 
 
 
 

16 lines
660 B

Index: src/crypto/x509/root_unix.go
--- src/crypto/x509/root_unix.go.orig 2017-09-01 11:28:19.812411000 +0200
+++ src/crypto/x509/root_unix.go 2017-09-01 11:57:34.508298000 +0200
@@ -14,11 +14,7 @@
// Possible directories with certificate files; stop after successfully
// reading at least one file from a directory.
var certDirectories = []string{
- "/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
- "/system/etc/security/cacerts", // Android
- "/usr/local/share/certs", // FreeBSD
- "/etc/pki/tls/certs", // Fedora/RHEL
- "/etc/openssl/certs", // NetBSD
+ "@l_prefix@/etc/x509",
}
const (