From 644c5dd366913d9297db8e0693a754e2d45c9089 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 23 Feb 2021 11:48:35 +1000 Subject: prov: upport modified gettable/settable ctx calls for ciphers Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14240) --- providers/implementations/include/prov/ciphercommon.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'providers/implementations/include') diff --git a/providers/implementations/include/prov/ciphercommon.h b/providers/implementations/include/prov/ciphercommon.h index c0d7a04b24..d5212c3c81 100644 --- a/providers/implementations/include/prov/ciphercommon.h +++ b/providers/implementations/include/prov/ciphercommon.h @@ -333,7 +333,8 @@ static const OSSL_PARAM name##_known_gettable_ctx_params[] = { \ #define CIPHER_DEFAULT_GETTABLE_CTX_PARAMS_END(name) \ OSSL_PARAM_END \ }; \ -const OSSL_PARAM * name##_gettable_ctx_params(ossl_unused void *provctx) \ +const OSSL_PARAM * name##_gettable_ctx_params(ossl_unused void *cctx, \ + ossl_unused void *provctx) \ { \ return name##_known_gettable_ctx_params; \ } @@ -345,7 +346,8 @@ static const OSSL_PARAM name##_known_settable_ctx_params[] = { \ #define CIPHER_DEFAULT_SETTABLE_CTX_PARAMS_END(name) \ OSSL_PARAM_END \ }; \ -const OSSL_PARAM * name##_settable_ctx_params(ossl_unused void *provctx) \ +const OSSL_PARAM * name##_settable_ctx_params(ossl_unused void *cctx, \ + ossl_unused void *provctx) \ { \ return name##_known_settable_ctx_params; \ } -- cgit v1.2.3