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 /include/internal | |
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 'include/internal')
-rw-r--r-- | include/internal/property.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/property.h b/include/internal/property.h index 3d00e3cb66..58ceddbb76 100644 --- a/include/internal/property.h +++ b/include/internal/property.h @@ -58,7 +58,7 @@ int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, int nid, int (*method_up_ref)(void *), void (*method_destruct)(void *)); -void ossl_method_store_flush_cache(OSSL_METHOD_STORE *store, int all); +__owur int ossl_method_store_flush_cache(OSSL_METHOD_STORE *store, int all); /* Merge two property queries together */ OSSL_PROPERTY_LIST *ossl_property_merge(const OSSL_PROPERTY_LIST *a, |