]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: fix comments on certDirectories
authorShang Jian Ding <sding3@ncsu.edu>
Wed, 6 Oct 2021 00:52:20 +0000 (19:52 -0500)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Thu, 2 Dec 2021 22:53:18 +0000 (22:53 +0000)
commitfd4b391849dcd3ac0e90d3a86b0ee7df00b9b269
tree0024544018f01afa210cf0402c02fa3229939748
parent06dbf6121ad77e9ea3288df99bfe4e94f8776f38
crypto/x509: fix comments on certDirectories

CL 205237 allowed SSL_CERT_DIR to be a colon delimited list of
directories. In the case that SSL_CERT_DIR is unset, the change
also made certDirectories to all be loaded rather than stopping
after successfully reading at least one file from a directory.
This update fixes code comments on the certDirectories package
level variables to reflect current behavior.

Fixes #48808

Change-Id: Id92f875545272fc6205d9955d03ea7bf844f15eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/354140
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Katie Hockman <katie@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Katie Hockman <katie@golang.org>
src/crypto/x509/root_aix.go
src/crypto/x509/root_bsd.go
src/crypto/x509/root_js.go
src/crypto/x509/root_linux.go
src/crypto/x509/root_solaris.go