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.

17 lines
750 B

Index: src/pkg/crypto/x509/root_unix.go
--- src/pkg/crypto/x509/root_unix.go.orig 2014-06-19 02:26:26.000000000 +0200
+++ src/pkg/crypto/x509/root_unix.go 2014-07-06 14:53:05.503285615 +0200
@@ -10,11 +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
11 years ago
+ "@l_prefix@/etc/x509/public-ca.crt.pem",
}
func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {