summaryrefslogtreecommitdiffstats
path: root/providers/implementations/macs/blake2_mac_impl.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-08-05 13:23:32 +1000
committerPauli <paul.dale@oracle.com>2020-08-07 08:02:14 +1000
commitaf5e1e852d4858860d4b7210cafe7bdf39e73f80 (patch)
treee2b5ea35d43150dcf9f1ff5e771e41daef4d891b /providers/implementations/macs/blake2_mac_impl.c
parent18ec26babc1da90befc0bf5671bc8072428c5bab (diff)
gettables: provider changes to pass the provider context.
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12581)
Diffstat (limited to 'providers/implementations/macs/blake2_mac_impl.c')
-rw-r--r--providers/implementations/macs/blake2_mac_impl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/macs/blake2_mac_impl.c b/providers/implementations/macs/blake2_mac_impl.c
index 9fd7f2c0ba..586a546214 100644
--- a/providers/implementations/macs/blake2_mac_impl.c
+++ b/providers/implementations/macs/blake2_mac_impl.c
@@ -108,7 +108,7 @@ static const OSSL_PARAM known_gettable_ctx_params[] = {
OSSL_PARAM_size_t(OSSL_MAC_PARAM_SIZE, NULL),
OSSL_PARAM_END
};
-static const OSSL_PARAM *blake2_gettable_ctx_params(void)
+static const OSSL_PARAM *blake2_gettable_ctx_params(void *provctx)
{
return known_gettable_ctx_params;
}
@@ -130,7 +130,7 @@ static const OSSL_PARAM known_settable_ctx_params[] = {
OSSL_PARAM_octet_string(OSSL_MAC_PARAM_SALT, NULL, 0),
OSSL_PARAM_END
};
-static const OSSL_PARAM *blake2_mac_settable_ctx_params()
+static const OSSL_PARAM *blake2_mac_settable_ctx_params(void *provctx)
{
return known_settable_ctx_params;
}