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 /include/crypto | |
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 'include/crypto')
-rw-r--r-- | include/crypto/decoder.h | 4 | ||||
-rw-r--r-- | include/crypto/encoder.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/include/crypto/decoder.h b/include/crypto/decoder.h index 95afd25b0b..a496f23e49 100644 --- a/include/crypto/decoder.h +++ b/include/crypto/decoder.h @@ -13,10 +13,6 @@ # include <openssl/decoder.h> -OSSL_DECODER *ossl_decoder_fetch_by_number(OSSL_LIB_CTX *libctx, - int id, - const char *properties); - /* * These are specially made for the 'file:' provider-native loader, which * uses this to install a DER to anything decoder, which doesn't do much diff --git a/include/crypto/encoder.h b/include/crypto/encoder.h index ae56131eb3..6240438d6d 100644 --- a/include/crypto/encoder.h +++ b/include/crypto/encoder.h @@ -13,8 +13,6 @@ # include <openssl/types.h> -OSSL_ENCODER *ossl_encoder_fetch_by_number(OSSL_LIB_CTX *libctx, int id, - const char *properties); int ossl_encoder_get_number(const OSSL_ENCODER *encoder); int ossl_encoder_store_cache_flush(OSSL_LIB_CTX *libctx); int ossl_encoder_store_remove_all_provided(const OSSL_PROVIDER *prov); |