summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-03-30 10:29:01 +1000
committerPauli <pauli@openssl.org>2021-04-08 17:46:35 +1000
commit860ecfd70022fa5700c7fb129845129b4c674ecd (patch)
tree1ade8cb44f104dcd2a7d8b8b03d7bf2b65d9fdea /include/crypto
parent9695f6de1579f5d46e75cfebbaf44bc99cb421ec (diff)
property: check return values from the property locking calls.
A failure to obtain a lock would have resulted in much badness, now it results in a failure return. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14773)
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/evp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h
index fbd0131e78..8ea5a2bf35 100644
--- a/include/crypto/evp.h
+++ b/include/crypto/evp.h
@@ -868,7 +868,7 @@ int evp_pkey_ctx_get1_id_len_prov(EVP_PKEY_CTX *ctx, size_t *id_len);
int evp_pkey_ctx_use_cached_data(EVP_PKEY_CTX *ctx);
# endif /* !defined(FIPS_MODULE) */
-void evp_method_store_flush(OSSL_LIB_CTX *libctx);
+int evp_method_store_flush(OSSL_LIB_CTX *libctx);
int evp_set_default_properties_int(OSSL_LIB_CTX *libctx, const char *propq,
int loadconfig);