boringssl/crypto
Adam Langley 4ac0b38cfc Try both old and new X.509 hashes.
Ensure the library can find the right files under /etc/ssl/certs when
running on older systems.

There are many symbolic links under /etc/ssl/certs created by using
hash of the PEM certificates in order for OpenSSL to find those
certificates. Openssl has a tool to help you create hash symbolic
links (tools/c_rehash). However newer versions of the library changed
the hash algorithm, which makes it unable to run properly on systems
that use the old /etc/ssl/certs layout (e.g. Ubuntu Lucid).

This patch gives a way to find a certificate according to its hash by
using both the old and new algorithms. http://crbug.com/111045 is used
to track this issue.

(Imported from Chromium:
http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/openssl/patches.chromium/0003-x509_hash_name_algorithm_change.patch?revision=231571)

Change-Id: Idbc27aba7685c991f8b94cfea38cf4f3f4b38adc
2014-06-20 15:31:01 -07:00
..
aes aes/asm/bsaes-x86_64.pl: Atom-specific optimization. 2014-06-20 13:17:40 -07:00
asn1 Set default global mask to UTF8 only. 2014-06-20 13:17:41 -07:00
base64 Base64 padding fix. 2014-06-20 13:17:36 -07:00
bio ChannelID support. 2014-06-20 13:17:33 -07:00
bn bignum: allow concurrent BN_MONT_CTX_set_locked() 2014-06-20 13:17:40 -07:00
buf Don't allocate more than is needed in BUF_strndup() 2014-06-20 13:17:40 -07:00
bytestring Inital import. 2014-06-20 13:17:32 -07:00
chacha ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
cipher ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
comp Inital import. 2014-06-20 13:17:32 -07:00
conf Inital import. 2014-06-20 13:17:32 -07:00
des Inital import. 2014-06-20 13:17:32 -07:00
dh dh/check.c: check BN_CTX_get's return value. 2014-06-20 13:17:39 -07:00
digest Inital import. 2014-06-20 13:17:32 -07:00
dsa Safe (EC)DSA nonces. 2014-06-20 13:17:33 -07:00
ec Double free in i2o_ECPublicKey 2014-06-20 13:17:40 -07:00
ecdh Inital import. 2014-06-20 13:17:32 -07:00
ecdsa Safe (EC)DSA nonces. 2014-06-20 13:17:33 -07:00
engine Inital import. 2014-06-20 13:17:32 -07:00
err Inital import. 2014-06-20 13:17:32 -07:00
evp remove duplicate 0x for default RSASSA-PSS salt len 2014-06-20 13:17:40 -07:00
hmac Inital import. 2014-06-20 13:17:32 -07:00
lhash Inital import. 2014-06-20 13:17:32 -07:00
md5 Inital import. 2014-06-20 13:17:32 -07:00
modes ghash-x86_64.pl: optimize for upcoming Atom. 2014-06-20 13:17:42 -07:00
obj Inital import. 2014-06-20 13:17:32 -07:00
pem Inital import. 2014-06-20 13:17:32 -07:00
perlasm perlasm/x86asm.pl: recognize elf-1 denoting old ELF platforms. 2014-06-20 13:17:39 -07:00
pkcs8 Inital import. 2014-06-20 13:17:32 -07:00
poly1305 ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
rand Inital import. 2014-06-20 13:17:32 -07:00
rc4 rc4/asm/rc4-586.pl: allow for 386-only build. 2014-06-20 13:17:39 -07:00
rsa Improvements in constant-time OAEP decoding. 2014-06-20 13:17:37 -07:00
sha crypto/sha/asm/sha[1,512]-x86_64.pl: Windows build 2014-06-20 13:17:43 -07:00
stack Inital import. 2014-06-20 13:17:32 -07:00
x509 Try both old and new X.509 hashes. 2014-06-20 15:31:01 -07:00
x509v3 Add OPENSSL_str[n]casecmp 2014-06-20 13:17:43 -07:00
arm_arch.h Inital import. 2014-06-20 13:17:32 -07:00
base.h AEAD interface. 2014-06-20 13:17:34 -07:00
CMakeLists.txt ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
cpu-arm.c Inital import. 2014-06-20 13:17:32 -07:00
cpu-intel.c Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu.h Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.c Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.h Inital import. 2014-06-20 13:17:32 -07:00
directory_posix.c Inital import. 2014-06-20 13:17:32 -07:00
directory_win.c Inital import. 2014-06-20 13:17:32 -07:00
directory.h Inital import. 2014-06-20 13:17:32 -07:00
ex_data_impl.c Inital import. 2014-06-20 13:17:32 -07:00
ex_data.c Inital import. 2014-06-20 13:17:32 -07:00
ex_data.h Inital import. 2014-06-20 13:17:32 -07:00
header_removed.h Inital import. 2014-06-20 13:17:32 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
mem_clear.c Inital import. 2014-06-20 13:17:32 -07:00
mem.c Add OPENSSL_str[n]casecmp 2014-06-20 13:17:43 -07:00
mem.h Add OPENSSL_str[n]casecmp 2014-06-20 13:17:43 -07:00
thread.c Inital import. 2014-06-20 13:17:32 -07:00
thread.h Inital import. 2014-06-20 13:17:32 -07:00
time_support.c Inital import. 2014-06-20 13:17:32 -07:00
time_support.h Inital import. 2014-06-20 13:17:32 -07:00
type_check.h Inital import. 2014-06-20 13:17:32 -07:00