From 07562828308417205f39a628af3b78af0d30d308 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 4 Jun 2021 14:29:07 +0200 Subject: 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 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15604) --- include/crypto/decoder.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/crypto/decoder.h') 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 - -- cgit v1.2.3