openssl/crypto/x509
Dr. Stephen Henson d2ec189fdd Remove X509_PUBKEY lock.
Cache the decoded public key when an X509_PUBKEY structure is initially
parsed so no locking is required. Ignore any decode errors.

When an application calls X509_PUBKEY_get0() subsequently it will either
get the cached key or the decode operation will be repeated which will
return an appropriate error.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-30 14:01:45 +01:00
..
build.info move x_pubkey.c to crypto/x509 2016-03-22 15:28:11 +00:00
by_dir.c Remove use of the old CRYPTO_LOCK_X5O9_STORE 2016-03-09 12:41:39 +00:00
by_file.c
Makefile.in move x_pubkey.c to crypto/x509 2016-03-22 15:28:11 +00:00
t_crl.c
t_req.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
t_x509.c
x509_att.c
x509_cmp.c Make X509_PUBKEY opaque 2016-03-22 15:28:11 +00:00
x509_d2.c
x509_def.c
x509_err.c
x509_ext.c
x509_lcl.h
x509_lu.c Convert CRYPTO_LOCK_X509_* to new multi-threading API 2016-03-08 11:10:34 -05:00
x509_obj.c
x509_r2x.c
x509_req.c
x509_set.c Convert CRYPTO_LOCK_X509_* to new multi-threading API 2016-03-08 11:10:34 -05:00
x509_trs.c
x509_txt.c
x509_v3.c
x509_vfy.c Require intermediate CAs to have basicConstraints CA:true. 2016-03-29 20:54:34 -04:00
x509_vpm.c
x509cset.c Convert CRYPTO_LOCK_X509_* to new multi-threading API 2016-03-08 11:10:34 -05:00
x509name.c
x509rset.c
x509spki.c
x509type.c
x_all.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
x_attrib.c
x_crl.c Convert CRYPTO_LOCK_X509_* to new multi-threading API 2016-03-08 11:10:34 -05:00
x_exten.c
x_name.c
x_pubkey.c Remove X509_PUBKEY lock. 2016-03-30 14:01:45 +01:00
x_req.c Convert CRYPTO_LOCK_X509_* to new multi-threading API 2016-03-08 11:10:34 -05:00
x_x509.c Convert CRYPTO_LOCK_X509_* to new multi-threading API 2016-03-08 11:10:34 -05:00
x_x509a.c