mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
go: add patch for our ca-cert location
This commit is contained in:
parent
5cc1faffb1
commit
b861a8bb21
@ -0,0 +1,11 @@
|
||||
diff -Naur a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
|
||||
--- a/src/crypto/x509/root_unix.go 2016-04-19 16:27:35.000000000 -0700
|
||||
+++ b/src/crypto/x509/root_unix.go 2016-04-22 01:21:02.884977461 -0700
|
||||
@@ -13,6 +13,7 @@
|
||||
var certDirectories = []string{
|
||||
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
|
||||
"/system/etc/security/cacerts", // Android
|
||||
+ "/etc/ssl", // LibreELEC
|
||||
}
|
||||
|
||||
func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
|
Loading…
x
Reference in New Issue
Block a user