diff options
author | Richard Levitte <levitte@openssl.org> | 2021-06-04 14:29:07 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-06-15 16:21:31 +0200 |
commit | 07562828308417205f39a628af3b78af0d30d308 (patch) | |
tree | ba2bbefcd04ccb2717d2e31a4cc7e21d16d8da6d /include | |
parent | f0191d0b1373bb7b0c50a0103d63791f51ed3398 (diff) |
Refactor OSSL_DECODER_do_all_provided() to behave like OSSL_DECODER_fetch()
This is refactored to use inner_ossl_decoder_fetch() without any given
name, which is just there to ensure all decoder implementations are
made into methods, and then use ossl_method_store_do_all() to list
them all.
This also adds the internal ossl_decoder_do_all_prefetched(), which
can be used if pre-fetching needs to be done separately from listing
all the decoder implementations, or if listing may happen multiple
times.
Fixes #15538
Fixes #14837
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15604)
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/decoder.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/crypto/decoder.h b/include/crypto/decoder.h index 3cf1077fca..cc06ef2926 100644 --- a/include/crypto/decoder.h +++ b/include/crypto/decoder.h @@ -40,4 +40,3 @@ int ossl_decoder_ctx_setup_for_pkey(OSSL_DECODER_CTX *ctx, int ossl_decoder_get_number(const OSSL_DECODER *encoder); #endif - |