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.
30 lines
1.1 KiB
30 lines
1.1 KiB
Index: src/cmd/go/internal/modfetch/fetch.go |
|
--- src/cmd/go/internal/modfetch/fetch.go.orig 2019-10-18 00:02:09.000000000 +0200 |
|
+++ src/cmd/go/internal/modfetch/fetch.go 2019-10-19 19:38:05.215862000 +0200 |
|
@@ -124,9 +124,6 @@ |
|
return err |
|
} |
|
|
|
- // Make dir read-only only *after* renaming it. |
|
- // os.Rename was observed to fail for read-only directories on macOS. |
|
- makeDirsReadOnly(dir) |
|
return nil |
|
} |
|
|
|
Index: src/crypto/x509/root_unix.go |
|
--- src/crypto/x509/root_unix.go.orig 2019-10-18 00:02:09.000000000 +0200 |
|
+++ src/crypto/x509/root_unix.go 2019-10-19 19:37:58.515876000 +0200 |
|
@@ -14,12 +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 |
|
- "/var/ssl/certs", // AIX |
|
+ "@l_prefix@/etc/x509", |
|
} |
|
|
|
const (
|
|
|