Code comments on the certDirectories package variable in crypto/x509 have been misleading since cl 205237
The following correction should be made
-// Possible directories with certificate files; stop after successfully
-// reading at least one file from a directory.
+// Possible directories with certificate files; all will be read.
var certDirectories = []string{
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
"/etc/pki/tls/certs", // Fedora/RHEL
"/system/etc/security/cacerts", // Android
}
Code comments on the
certDirectoriespackage variable incrypto/x509have been misleading since cl 205237The following correction should be made