From: Richard Levitte Date: Sat, 9 May 2020 07:59:05 +0000 (+0200) Subject: CORE: Fix the signature of OSSL_provider_query_operation_fn X-Git-Tag: openssl-3.0.0-alpha2~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b0f3c594083b22f082057719f7bb1aa575e7d5a1;p=oweals%2Fopenssl.git CORE: Fix the signature of OSSL_provider_query_operation_fn For some reason, the 'no_cache' parameter was declare 'const', when it's in fact supposed to be modifiable. Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/11777) --- diff --git a/include/openssl/core_numbers.h b/include/openssl/core_numbers.h index 2cf2f27715..6af086fc2b 100644 --- a/include/openssl/core_numbers.h +++ b/include/openssl/core_numbers.h @@ -161,7 +161,7 @@ OSSL_CORE_MAKE_FUNC(int,provider_get_params,(void *provctx, OSSL_PARAM params[])) # define OSSL_FUNC_PROVIDER_QUERY_OPERATION 1027 OSSL_CORE_MAKE_FUNC(const OSSL_ALGORITHM *,provider_query_operation, - (void *provctx, int operation_id, const int *no_store)) + (void *provctx, int operation_id, int *no_store)) # define OSSL_FUNC_PROVIDER_GET_REASON_STRINGS 1028 OSSL_CORE_MAKE_FUNC(const OSSL_ITEM *,provider_get_reason_strings, (void *provctx))