--- libgo/go/crypto/x509/root_bsd.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/go/crypto/x509/root_bsd.go 2020-09-08 10:21:30.864015000 +1000 @@ -2,13 +2,13 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build dragonfly freebsd netbsd openbsd +// +build bsdsunix dragonfly freebsd netbsd openbsd package x509 // Possible certificate files; stop after finding one. var certFiles = []string{ - "/usr/local/etc/ssl/cert.pem", // FreeBSD + "/usr/local/etc/ssl/cert.pem", // FreeBSD, BSDSUniX "/etc/ssl/cert.pem", // OpenBSD "/usr/local/share/certs/ca-root-nss.crt", // DragonFly "/etc/openssl/certs/ca-certificates.crt", // NetBSD