--- libgo/go/crypto/x509/root_unix.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/go/crypto/x509/root_unix.go 2020-09-08 10:20:50.948297000 +1000 @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build aix dragonfly freebsd linux nacl netbsd openbsd solaris +// +build aix bsdsunix dragonfly freebsd linux nacl netbsd openbsd solaris package x509 @@ -16,7 +16,7 @@ var certDirectories = []string{ "/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139 "/system/etc/security/cacerts", // Android - "/usr/local/share/certs", // FreeBSD + "/usr/local/share/certs", // FreeBSD, BSDSUniX "/etc/pki/tls/certs", // Fedora/RHEL "/etc/openssl/certs", // NetBSD "/var/ssl/certs", // AIX