diff options
author | Richard Levitte <levitte@openssl.org> | 2022-04-20 16:43:13 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-05-05 15:05:54 +0200 |
commit | 20b6d85ab2b9cfa4cd29d2422d69c3e3f4db0a41 (patch) | |
tree | b36e80fcc6b3c399828112365c01f4c4f4b61706 /doc/internal | |
parent | 802cacf34f2db9111becb4f0d3aa00460df13a19 (diff) |
Drop ossl_provider_clear_all_operation_bits() and all uses of it
This is a misused function, as it was called during query cache flush,
when the provider operation bits were meant to record if methods for a
certain operation has already been added to the method store.
Fixes #18150
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18151)
Diffstat (limited to 'doc/internal')
-rw-r--r-- | doc/internal/man3/ossl_provider_new.pod | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/internal/man3/ossl_provider_new.pod b/doc/internal/man3/ossl_provider_new.pod index 1dba1860f7..6ea298e0a9 100644 --- a/doc/internal/man3/ossl_provider_new.pod +++ b/doc/internal/man3/ossl_provider_new.pod @@ -16,7 +16,7 @@ ossl_provider_name, ossl_provider_dso, ossl_provider_module_name, ossl_provider_module_path, ossl_provider_libctx, ossl_provider_teardown, ossl_provider_gettable_params, -ossl_provider_get_params, ossl_provider_clear_all_operation_bits, +ossl_provider_get_params, ossl_provider_query_operation, ossl_provider_unquery_operation, ossl_provider_set_operation_bit, ossl_provider_test_operation_bit, ossl_provider_get_capabilities @@ -93,7 +93,6 @@ ossl_provider_get_capabilities int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum); int ossl_provider_test_operation_bit(OSSL_PROVIDER *provider, size_t bitnum, int *result); - int ossl_provider_clear_all_operation_bits(OSSL_LIB_CTX *libctx); int ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, const OSSL_CORE_HANDLE *handle, @@ -294,9 +293,6 @@ ossl_provider_test_operation_bit() checks if the bit operation I<bitnum> is set (1) or not (0) in the internal I<provider> bitstring, and sets I<*result> to 1 or 0 accorddingly. -ossl_provider_clear_all_operation_bits() clears all of the operation bits -to (0) for all providers in the library context I<libctx>. - ossl_provider_init_as_child() stores in the library context I<ctx> references to the necessary upcalls for managing child providers. The I<handle> and I<in> parameters are the B<OSSL_CORE_HANDLE> and B<OSSL_DISPATCH> pointers that were @@ -374,8 +370,6 @@ If this function isn't available in the provider, 0 is returned. ossl_provider_set_operation_bit() and ossl_provider_test_operation_bit() return 1 on success, or 0 on error. -ossl_provider_clear_all_operation_bits() returns 1 on success, or 0 on error. - ossl_provider_get_capabilities() returns 1 on success, or 0 on error. If this function isn't available in the provider or the provider does not support the requested capability then 0 is returned. |