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/x942kdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'providers/implementations/kdfs/x942kdf.c') diff --git a/providers/implementations/kdfs/x942kdf.c b/providers/implementations/kdfs/x942kdf.c index 9790700bf0..3ca87cddc2 100644 --- a/providers/implementations/kdfs/x942kdf.c +++ b/providers/implementations/kdfs/x942kdf.c @@ -402,7 +402,7 @@ static int x942kdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) return 1; } -static const OSSL_PARAM *x942kdf_settable_ctx_params(void *provctx) +static const OSSL_PARAM *x942kdf_settable_ctx_params(ossl_unused void *provctx) { static const OSSL_PARAM known_settable_ctx_params[] = { OSSL_PARAM_utf8_string(OSSL_KDF_PARAM_PROPERTIES, NULL, 0), @@ -426,7 +426,7 @@ static int x942kdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) return -2; } -static const OSSL_PARAM *x942kdf_gettable_ctx_params(void *provctx) +static const OSSL_PARAM *x942kdf_gettable_ctx_params(ossl_unused void *provctx) { static const OSSL_PARAM known_gettable_ctx_params[] = { OSSL_PARAM_size_t(OSSL_KDF_PARAM_SIZE, NULL), -- cgit v1.2.3