Commit 3c7bdd4d authored by Dave Cheney's avatar Dave Cheney

crypto/x509: add cert SmartOS cert path

Fix SmartOS build that was broken in 68292290.

SmartOS pretends to be Ubuntu/Debian with respect to its SSL
certificate location.

Change-Id: I5405c6472c8a1e812e472e7301bf6084c17549d6
Reviewed-on: https://go-review.googlesource.com/2704Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent a88d7092
......@@ -6,5 +6,6 @@ package x509
// Possible certificate files; stop after finding one.
var certFiles = []string{
"/etc/certs/ca-certificates.crt", // Solaris 11.2+
"/etc/certs/ca-certificates.crt", // Solaris 11.2+
"/etc/ssl/certs/ca-certificates.crt", // Joyent SmartOS
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment