• Russ Cox's avatar
    crypto/x509: check for new tls-ca-bundle.pem last · 1ead0bd1
    Russ Cox authored
    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: 's avatarAdam Langley <agl@golang.org>
    1ead0bd1
Name
Last commit
Last update
..
pkix Loading commit data...
cert_pool.go Loading commit data...
example_test.go Loading commit data...
pem_decrypt.go Loading commit data...
pem_decrypt_test.go Loading commit data...
pkcs1.go Loading commit data...
pkcs8.go Loading commit data...
pkcs8_test.go Loading commit data...
root.go Loading commit data...
root_bsd.go Loading commit data...
root_cgo_darwin.go Loading commit data...
root_darwin.go Loading commit data...
root_darwin_arm_gen.go Loading commit data...
root_darwin_armx.go Loading commit data...
root_darwin_test.go Loading commit data...
root_linux.go Loading commit data...
root_nacl.go Loading commit data...
root_nocgo_darwin.go Loading commit data...
root_plan9.go Loading commit data...
root_solaris.go Loading commit data...
root_unix.go Loading commit data...
root_windows.go Loading commit data...
sec1.go Loading commit data...
sec1_test.go Loading commit data...
sha2_windows_test.go Loading commit data...
verify.go Loading commit data...
verify_test.go Loading commit data...
x509.go Loading commit data...
x509_test.go Loading commit data...
x509_test_import.go Loading commit data...