distribution/packages/lang/go/patches/go-0001-add-ca-cert-location.patch

10 lines
460 B
Diff

diff --git a/src/crypto/x509/root_linux.go b/src/crypto/x509/root_linux.go
index ad6ce5cae7..763c686fed 100644
--- a/src/crypto/x509/root_linux.go
+++ b/src/crypto/x509/root_linux.go
@@ -20,4 +20,5 @@ var certDirectories = []string{
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
"/etc/pki/tls/certs", // Fedora/RHEL
"/system/etc/security/cacerts", // Android
+ "/etc/ssl", // LibreELEC
}