openssl/crypto/x509
Rich Salz cd3f8c1b11 Always check CRYPTO_LOCK_{read,write}_lock
Some functions that lock things are void, so we just return early.

Also make ossl_namemap_empty return 0 on error.  Updated the docs, and added
some code to ossl_namemap_stored() to handle the failure, and updated the
tests to allow for failure.

Fixes: #14230

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14238)
2021-03-14 15:33:34 +10:00
..
build.info Deprecate X509_certificate_type 2021-02-02 11:47:49 +01:00
by_dir.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
by_file.c
by_store.c Update copyright year 2021-03-11 13:27:36 +00:00
ext_dat.h
pcy_cache.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
pcy_data.c
pcy_lib.c
pcy_local.h
pcy_map.c
pcy_node.c
pcy_tree.c Update copyright year 2021-03-11 13:27:36 +00:00
standard_exts.h
t_crl.c
t_req.c Update copyright year 2021-01-28 13:54:57 +01:00
t_x509.c Update copyright year 2021-01-28 13:54:57 +01:00
v3_addr.c
v3_admis.c
v3_admis.h
v3_akeya.c
v3_akid.c Update copyright year 2021-01-28 13:54:57 +01:00
v3_asid.c
v3_bcons.c
v3_bitst.c
v3_conf.c Update copyright year 2021-01-28 13:54:57 +01:00
v3_cpols.c
v3_crld.c
v3_enum.c
v3_extku.c
v3_genn.c
v3_ia5.c
v3_info.c
v3_int.c
v3_ist.c
v3_lib.c
v3_ncons.c
v3_pci.c
v3_pcia.c
v3_pcons.c
v3_pku.c
v3_pmaps.c
v3_prn.c
v3_purp.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
v3_san.c Update copyright year 2021-01-28 13:54:57 +01:00
v3_skid.c Update copyright year 2021-01-28 13:54:57 +01:00
v3_sxnet.c
v3_tlsf.c
v3_utf8.c Update copyright year 2021-01-28 13:54:57 +01:00
v3_utl.c
v3err.c
x509_att.c
x509_cmp.c Make more use of X509_add_certs(); minor related code & comments cleanup 2021-03-06 13:08:16 +01:00
x509_d2.c
x509_def.c
x509_err.c
x509_ext.c
x509_local.h
x509_lu.c X509_STORE_CTX_get1_issuer(): Make preference on expired certs consistent with find_issuer() 2021-02-11 20:25:27 +01:00
x509_meth.c
x509_obj.c
x509_r2x.c
x509_req.c Update copyright year 2021-01-28 13:54:57 +01:00
x509_set.c
x509_trs.c Update copyright year 2021-03-11 13:27:36 +00:00
x509_txt.c
x509_v3.c
x509_vfy.c Code cleanup mostly in crypto/x509/v3_purp.c 2021-02-27 13:01:05 +01:00
x509_vpm.c Update copyright year 2021-03-11 13:27:36 +00:00
x509cset.c
x509name.c
x509rset.c
x509spki.c
x509type.c
x_all.c Fix external symbols for pkcs7. 2021-02-22 09:16:37 +10:00
x_attrib.c
x_crl.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
x_exten.c
x_name.c
x_pubkey.c X509: Refactor X509_PUBKEY processing to include provider side keys 2021-02-24 10:17:14 +01:00
x_req.c
x_x509.c Update copyright year 2021-01-28 13:54:57 +01:00
x_x509a.c