diff options
author | Pauli <pauli@openssl.org> | 2022-05-04 14:54:13 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-05-06 10:38:55 +1000 |
commit | 16ff70a58cfb5c40197e6a940cf4666226f31b79 (patch) | |
tree | 06fc97def75b045e9bdd339aeaf5aa3dfdc674b8 /doc | |
parent | 32e3c071373280b69be02ba91fc3204495e2e1bf (diff) |
Remove the _fetch_by_number functions
These functions are unused and untested. They are also implemented rather
inefficiently. If we ever needed them in the future, they'd almost surely
need to be rewritten more efficiently.
Fixes #18227
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18237)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/internal/man3/evp_generic_fetch.pod | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/doc/internal/man3/evp_generic_fetch.pod b/doc/internal/man3/evp_generic_fetch.pod index b23d2ec0ea..ce75ffbfc8 100644 --- a/doc/internal/man3/evp_generic_fetch.pod +++ b/doc/internal/man3/evp_generic_fetch.pod @@ -2,7 +2,7 @@ =head1 NAME -evp_generic_fetch, evp_generic_fetch_by_number, evp_generic_fetch_from_prov +evp_generic_fetch, evp_generic_fetch_from_prov - generic algorithm fetchers and method creators for EVP =head1 SYNOPSIS @@ -20,15 +20,6 @@ evp_generic_fetch, evp_generic_fetch_by_number, evp_generic_fetch_from_prov int (*up_ref_method)(void *), void (*free_method)(void *)); - void *evp_generic_fetch_by_number(OSSL_LIB_CTX *ctx, int operation_id, - int name_id, const char *properties, - void *(*new_method)(int name_id, - const OSSL_DISPATCH *fns, - OSSL_PROVIDER *prov, - void *method_data), - void *method_data, - int (*up_ref_method)(void *), - void (*free_method)(void *)); void *evp_generic_fetch_from_prov(OSSL_PROVIDER *prov, int operation_id, int name_id, const char *properties, void *(*new_method)(int name_id, @@ -46,14 +37,6 @@ I<libctx>, I<operation_id>, I<name>, and I<properties> and uses it to create an EVP method with the help of the functions I<new_method>, I<up_ref_method>, and I<free_method>. -evp_generic_fetch_by_number() does the same thing as evp_generic_fetch(), -but takes a numeric I<name_id> instead of a name. -I<name_id> must always be nonzero; as a matter of fact, it being zero -is considered a programming error. -This is meant to be used when one method needs to fetch an associated -method, and is typically called from inside the given function -I<new_method>. - evp_generic_fetch_from_prov() does the same thing as evp_generic_fetch(), but limits the search of methods to the provider given with I<prov>. This is meant to be used when one method needs to fetch an associated |