Commit 61ca7e5c authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

crypto/x509: add /etc/ssl/certs to certificate directories

Fixes #12139.

Change-Id: Ied760ac37e2fc21ef951ae872136dc3bfd49bf9f
Reviewed-on: https://go-review.googlesource.com/16671Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 94968155
......@@ -11,6 +11,7 @@ import "io/ioutil"
// Possible directories with certificate files; stop after successfully
// reading at least one file from a directory.
var certDirectories = []string{
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
"/system/etc/security/cacerts", // Android
}
......
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