]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: define certDirectories per GOOS
authorTobias Klauser <tklauser@distanz.ch>
Mon, 17 Aug 2020 16:26:00 +0000 (18:26 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 29 Sep 2020 06:10:34 +0000 (06:10 +0000)
commit6fc094ceaf87659217dd0b2184e0a8749f6e3d39
treedd53e0092de9ac5829a4f38eff87b98fece10d5e
parent15c8925df0a1017ee6db96d551f7febae74318bf
crypto/x509: define certDirectories per GOOS

Split the list of CA certificate directory locations in root_unix.go by
GOOS (aix, *bsd, js, linux, solaris).

On solaris, also include /etc/certs/CA as documented here:
https://docs.oracle.com/cd/E37838_01/html/E61024/kmf-cacerts.html

Same as CL 2208 did for certFiles.

Change-Id: Id24822d6a674bbbbf4088ebb8fe8437edad232b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/248762
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@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
src/crypto/x509/root_unix.go