From 1017ab21e478b18dd2d9266955dee7e418932a3c Mon Sep 17 00:00:00 2001 From: Pauli Date: Fri, 7 Aug 2020 13:20:18 +1000 Subject: provider: add the unused paramater tag to the gettable and settable functions Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/12603) --- providers/implementations/kdfs/kbkdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'providers/implementations/kdfs/kbkdf.c') diff --git a/providers/implementations/kdfs/kbkdf.c b/providers/implementations/kdfs/kbkdf.c index 2801f25a7f..f3122ac1bd 100644 --- a/providers/implementations/kdfs/kbkdf.c +++ b/providers/implementations/kdfs/kbkdf.c @@ -298,7 +298,7 @@ static int kbkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) return 1; } -static const OSSL_PARAM *kbkdf_settable_ctx_params(void *provctx) +static const OSSL_PARAM *kbkdf_settable_ctx_params(ossl_unused void *provctx) { static const OSSL_PARAM known_settable_ctx_params[] = { OSSL_PARAM_octet_string(OSSL_KDF_PARAM_INFO, NULL, 0), @@ -328,7 +328,7 @@ static int kbkdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) return OSSL_PARAM_set_size_t(p, SIZE_MAX); } -static const OSSL_PARAM *kbkdf_gettable_ctx_params(void *provctx) +static const OSSL_PARAM *kbkdf_gettable_ctx_params(ossl_unused void *provctx) { static const OSSL_PARAM known_gettable_ctx_params[] = { OSSL_PARAM_size_t(OSSL_KDF_PARAM_SIZE, NULL), OSSL_PARAM_END }; -- cgit v1.2.3