summaryrefslogtreecommitdiffstats
path: root/providers/implementations/include
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-23 11:48:35 +1000
committerPauli <ppzgs1@gmail.com>2021-02-26 18:08:41 +1000
commit644c5dd366913d9297db8e0693a754e2d45c9089 (patch)
treeb11b63227cf04b7672e265744993001482c49ea9 /providers/implementations/include
parent35c76a528bb14611d7ff2c77762b16cf28c1fef3 (diff)
prov: upport modified gettable/settable ctx calls for ciphers
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14240)
Diffstat (limited to 'providers/implementations/include')
-rw-r--r--providers/implementations/include/prov/ciphercommon.h6
1 files changed, 4 insertions, 2 deletions
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; \
}