Skip to content

Commit

Permalink
crypto/x509: add Solaris certificate file location
Browse files Browse the repository at this point in the history
Fixes golang#9078.

LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://golang.org/cl/172920043
  • Loading branch information
ianlancetaylor authored and wheatman committed Jun 25, 2018
1 parent 979b94b commit e5ef94f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/crypto/x509/root_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var certFiles = []string{
"/etc/ssl/cert.pem", // OpenBSD
"/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
"/etc/pki/tls/cacert.pem", // OpenELEC
"/etc/certs/ca-certificates.crt", // Solaris 11.2+
}

// Possible directories with certificate files; stop after successfully
Expand Down

0 comments on commit e5ef94f

Please sign in to comment.