From 860ecfd70022fa5700c7fb129845129b4c674ecd Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 30 Mar 2021 10:29:01 +1000 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/14773) --- include/crypto/evp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/crypto') 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); -- cgit v1.2.3