go/src/crypto
Russ Cox 1ead0bd1dc crypto/x509: check for new tls-ca-bundle.pem last
We added CentOS 7's /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
to the list in response to #17549 - not being able to find any certs otherwise.

Now we have #18813, where CentOS 6 apparently has both that file
and /etc/pki/tls/certs/ca-bundle.crt, and the latter is complete while
the former is not.

Moving the new CentOS 7 file to the bottom of the list should fix both
problems: the CentOS 7 system that didn't have any of the other files
in the list will still find the new one, and existing systems will still
keep using what they were using instead of preferring the new path
that may or may not be complete on some systems.

Fixes #18813.

Change-Id: I5275ab67424b95e7210e14938d3e986c8caee0ba
Reviewed-on: https://go-review.googlesource.com/36429
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
2017-02-07 17:19:05 +00:00
..
aes crypto/aes: correct 'noescape' typo in s390x 2016-12-14 16:10:22 +00:00
cipher all: make spelling consistent 2016-12-08 23:22:37 +00:00
des crypto/des: improve the throughput of DES and 3DES 2017-02-07 14:17:05 +00:00
dsa crypto/dsa: gofmt 2017-01-11 17:10:59 +00:00
ecdsa crypto/ecdsa: correct code comment. 2016-10-02 19:38:37 +00:00
elliptic crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
hmac crypto/hmac: don't test for length equality in Equal. 2016-08-17 23:23:28 +00:00
internal/cipherhw crypto/{cipher,tls,internal/cryptohw}: prioritise AES-GCM when hardware support is present. 2016-11-07 20:01:18 +00:00
md5 crypto/md5, crypto/sha1, crypto/sha256: add examples for checksumming a file 2016-09-19 17:29:19 +00:00
rand math/big: add Baillie-PSW test to (*Int).ProbablyPrime 2016-11-22 02:05:47 +00:00
rc4 all: fix assembly vet issues 2016-08-25 18:52:31 +00:00
rsa crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
sha1 crypto: detect BMI usability on AMD64 for sha1 and sha256 2017-01-05 15:37:37 +00:00
sha256 crypto: detect BMI usability on AMD64 for sha1 and sha256 2017-01-05 15:37:37 +00:00
sha512 crypto/sha512: improve performance for sha512.block on ppc64le 2016-10-31 19:13:52 +00:00
subtle
tls cmd/link, crypto/tls: don't use append loops 2017-02-07 16:42:32 +00:00
x509 crypto/x509: check for new tls-ca-bundle.pem last 2017-02-07 17:19:05 +00:00
crypto.go