openssl/crypto/store
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
store_err.c
store_init.c Use OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL) in libcrypto 2021-03-12 15:11:21 +01:00
store_lib.c Update copyright year 2021-03-11 13:27:36 +00:00
store_local.h Use OPENSSL_init_crypto(OPENSSL_INIT_BASE_ONLY, NULL) in libcrypto 2021-03-12 15:11:21 +01:00
store_meth.c crypto: rename error flags in internal structures 2021-03-04 10:17:20 +10:00
store_register.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
store_result.c OSSL_STORE: restore diagnostics on decrypt error; provide password hints 2021-03-04 08:54:09 +01:00
store_strings.c