summaryrefslogtreecommitdiffstats
path: root/providers/implementations/ciphers/cipher_chacha20.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-08-07 13:20:18 +1000
committerPauli <paul.dale@oracle.com>2020-08-12 08:43:37 +1000
commit1017ab21e478b18dd2d9266955dee7e418932a3c (patch)
tree44d37447d9611517e46deb13d563fe0eb347ab13 /providers/implementations/ciphers/cipher_chacha20.c
parent520150151bc5993194ba34464220454d8135099d (diff)
provider: add the unused paramater tag to the gettable and settable functions
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12603)
Diffstat (limited to 'providers/implementations/ciphers/cipher_chacha20.c')
-rw-r--r--providers/implementations/ciphers/cipher_chacha20.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/ciphers/cipher_chacha20.c b/providers/implementations/ciphers/cipher_chacha20.c
index 5d5e62870d..4e02ce9493 100644
--- a/providers/implementations/ciphers/cipher_chacha20.c
+++ b/providers/implementations/ciphers/cipher_chacha20.c
@@ -91,7 +91,7 @@ static const OSSL_PARAM chacha20_known_gettable_ctx_params[] = {
OSSL_PARAM_size_t(OSSL_CIPHER_PARAM_IVLEN, NULL),
OSSL_PARAM_END
};
-const OSSL_PARAM *chacha20_gettable_ctx_params(void *provctx)
+const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *provctx)
{
return chacha20_known_gettable_ctx_params;
}
@@ -131,7 +131,7 @@ static const OSSL_PARAM chacha20_known_settable_ctx_params[] = {
OSSL_PARAM_size_t(OSSL_CIPHER_PARAM_IVLEN, NULL),
OSSL_PARAM_END
};
-const OSSL_PARAM *chacha20_settable_ctx_params(void *provctx)
+const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *provctx)
{
return chacha20_known_settable_ctx_params;
}