From b0f3c594083b22f082057719f7bb1aa575e7d5a1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 9 May 2020 09:59:05 +0200 Subject: [PATCH] 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) --- include/openssl/core_numbers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.25.1