mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-02 19:15:59 +00:00
Issue with CA certificates was reproducible when using termux/termux-docker Docker image as root and running command `go build`.
12 lines
619 B
Diff
12 lines
619 B
Diff
diff -uNr go/src/crypto/x509/root_linux.go go.mod/src/crypto/x509/root_linux.go
|
|
--- go/src/crypto/x509/root_linux.go 2023-04-26 18:32:01.000000000 +0300
|
|
+++ go.mod/src/crypto/x509/root_linux.go 2023-05-16 13:39:01.837185844 +0300
|
|
@@ -6,6 +6,7 @@
|
|
|
|
// Possible certificate files; stop after finding one.
|
|
var certFiles = []string{
|
|
+ "@TERMUX_PREFIX@/etc/tls/cert.pem", // Termux
|
|
"/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
|
|
"/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL 6
|
|
"/etc/ssl/ca-bundle.pem", // OpenSUSE
|