From 309a78aa305ee14878e453c78ccf9a7dc91264cf Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 16 Mar 2021 14:14:43 +0100 Subject: CORE: Add an algorithm_description field to OSSL_ALGORITHM This corresponds to the |info| field in EVP_PKEY_ASN1_METHOD, as well as the generic use of OBJ_nid2ln() as a one line description. We also add the base functionality to make use of this field. Fixes #14514 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14656) --- include/crypto/decoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/crypto/decoder.h') diff --git a/include/crypto/decoder.h b/include/crypto/decoder.h index d463d1e9b5..a591e43a96 100644 --- a/include/crypto/decoder.h +++ b/include/crypto/decoder.h @@ -23,8 +23,8 @@ OSSL_DECODER *ossl_decoder_fetch_by_number(OSSL_LIB_CTX *libctx, * except read a DER blob and pass it on as a provider object abstraction * (provider-object(7)). */ -void *ossl_decoder_from_dispatch(int id, const OSSL_ALGORITHM *algodef, - OSSL_PROVIDER *prov); +void *ossl_decoder_from_algorithm(int id, const OSSL_ALGORITHM *algodef, + OSSL_PROVIDER *prov); OSSL_DECODER_INSTANCE * ossl_decoder_instance_new(OSSL_DECODER *decoder, void *decoderctx); -- cgit v1.2.3