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.

13 lines
525 B

Index: src/crypto/x509/root_unix.go
--- src/crypto/x509/root_unix.go.orig 2015-07-08 19:53:56.582526000 +0200
+++ src/crypto/x509/root_unix.go 2015-07-08 19:54:38.232326912 +0200
@@ -11,7 +11,7 @@
// Possible directories with certificate files; stop after successfully
// reading at least one file from a directory.
var certDirectories = []string{
- "/system/etc/security/cacerts", // Android
+ "@l_prefix@/etc/x509",
}
func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {