]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: split certFiles definition by GOOS
authorDave Cheney <dave@cheney.net>
Mon, 5 Jan 2015 02:14:04 +0000 (13:14 +1100)
committerDave Cheney <dave@cheney.net>
Mon, 5 Jan 2015 05:41:27 +0000 (05:41 +0000)
commit682922908f7e434261cbed8f0019e8415347166b
tree3129c9281dd1b45cf24207fe38034045b68450ce
parent0b52392ef788bb4914f3fde99fe213ea06527ec4
crypto/x509: split certFiles definition by GOOS

This CL splits the (ever growing) list of ca cert locations by major unix
platforms (darwin, windows and plan9 are already handled seperately).
Although it is clear the unix variants cannot manage to agree on some standard
locations, we can avoid to some extent an artificial ranking of priority
amongst the supported GOOSs.

* Split certFiles definition by GOOS
* Include NetBSD ca cert location

Fixes #9285

Change-Id: I6df2a3fddf3866e71033e01fce43c31e51b48a9e
Reviewed-on: https://go-review.googlesource.com/2208
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/crypto/x509/root_bsd.go [new file with mode: 0644]
src/crypto/x509/root_linux.go [new file with mode: 0644]
src/crypto/x509/root_solaris.go [new file with mode: 0644]
src/crypto/x509/root_unix.go