diff options
author | Pauli <pauli@openssl.org> | 2021-03-30 10:29:01 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-04-08 17:46:35 +1000 |
commit | 860ecfd70022fa5700c7fb129845129b4c674ecd (patch) | |
tree | 1ade8cb44f104dcd2a7d8b8b03d7bf2b65d9fdea /crypto/property/property_local.h | |
parent | 9695f6de1579f5d46e75cfebbaf44bc99cb421ec (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 'crypto/property/property_local.h')
-rw-r--r-- | crypto/property/property_local.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/property/property_local.h b/crypto/property/property_local.h index 89020e606e..58db822851 100644 --- a/crypto/property/property_local.h +++ b/crypto/property/property_local.h @@ -27,9 +27,3 @@ int ossl_property_has_optional(const OSSL_PROPERTY_LIST *query); OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop); int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop, OSSL_PROPERTY_LIST *pl); - -/* Property cache lock / unlock */ -int ossl_property_write_lock(OSSL_METHOD_STORE *); -int ossl_property_read_lock(OSSL_METHOD_STORE *); -int ossl_property_unlock(OSSL_METHOD_STORE *); - |