boringssl/crypto/x509
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
..
a_digest.c Inital import. 2014-06-20 13:17:32 -07:00
a_sign.c Inital import. 2014-06-20 13:17:32 -07:00
a_strex.c Const correctness. 2014-06-20 13:17:36 -07:00
a_verify.c Don't try and verify signatures if key is NULL (CVE-2013-0166) 2014-06-20 13:17:39 -07:00
asn1_gen.c Inital import. 2014-06-20 13:17:32 -07:00
by_dir.c Try both old and new X.509 hashes. 2014-06-20 15:31:01 -07:00
by_file.c Inital import. 2014-06-20 13:17:32 -07:00
charmap.h Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
i2d_pr.c Inital import. 2014-06-20 13:17:32 -07:00
pkcs7.c Inital import. 2014-06-20 13:17:32 -07:00
t_crl.c Inital import. 2014-06-20 13:17:32 -07:00
t_x509.c Inital import. 2014-06-20 13:17:32 -07:00
t_x509a.c Inital import. 2014-06-20 13:17:32 -07:00
vpm_int.h Fixes to host checking. 2014-06-20 13:17:40 -07:00
x509_att.c Inital import. 2014-06-20 13:17:32 -07:00
x509_cmp.c Inital import. 2014-06-20 13:17:32 -07:00
x509_d2.c Inital import. 2014-06-20 13:17:32 -07:00
x509_def.c Inital import. 2014-06-20 13:17:32 -07:00
x509_error.c Inital import. 2014-06-20 13:17:32 -07:00
x509_ext.c Inital import. 2014-06-20 13:17:32 -07:00
x509_lu.c Inital import. 2014-06-20 13:17:32 -07:00
x509_obj.c Inital import. 2014-06-20 13:17:32 -07:00
x509_r2x.c Inital import. 2014-06-20 13:17:32 -07:00
x509_req.c Inital import. 2014-06-20 13:17:32 -07:00
x509_set.c Inital import. 2014-06-20 13:17:32 -07:00
x509_trs.c Const correctness. 2014-06-20 13:17:36 -07:00
x509_txt.c Inital import. 2014-06-20 13:17:32 -07:00
x509_v3.c Inital import. 2014-06-20 13:17:32 -07:00
x509_vfy.c Fixes to host checking. 2014-06-20 13:17:40 -07:00
x509_vfy.h Fixes to host checking. 2014-06-20 13:17:40 -07:00
x509_vpm.c Fixes to host checking. 2014-06-20 13:17:40 -07:00
x509.c Inital import. 2014-06-20 13:17:32 -07:00
x509.h Remove redundant accessor. 2014-06-20 13:17:37 -07:00
x509cset.c Inital import. 2014-06-20 13:17:32 -07:00
x509name.c Inital import. 2014-06-20 13:17:32 -07:00
x509rset.c Inital import. 2014-06-20 13:17:32 -07:00
x509spki.c Inital import. 2014-06-20 13:17:32 -07:00
x509type.c Inital import. 2014-06-20 13:17:32 -07:00
x_algor.c Inital import. 2014-06-20 13:17:32 -07:00
x_all.c Inital import. 2014-06-20 13:17:32 -07:00
x_attrib.c Inital import. 2014-06-20 13:17:32 -07:00
x_crl.c Inital import. 2014-06-20 13:17:32 -07:00
x_exten.c Inital import. 2014-06-20 13:17:32 -07:00
x_info.c Inital import. 2014-06-20 13:17:32 -07:00
x_name.c Inital import. 2014-06-20 13:17:32 -07:00
x_pkey.c Inital import. 2014-06-20 13:17:32 -07:00
x_pubkey.c Inital import. 2014-06-20 13:17:32 -07:00
x_req.c Inital import. 2014-06-20 13:17:32 -07:00
x_sig.c Inital import. 2014-06-20 13:17:32 -07:00
x_spki.c Inital import. 2014-06-20 13:17:32 -07:00
x_val.c Inital import. 2014-06-20 13:17:32 -07:00
x_x509.c Inital import. 2014-06-20 13:17:32 -07:00
x_x509a.c Inital import. 2014-06-20 13:17:32 -07:00