From af5e1e852d4858860d4b7210cafe7bdf39e73f80 Mon Sep 17 00:00:00 2001 From: Pauli Date: Wed, 5 Aug 2020 13:23:32 +1000 Subject: gettables: provider changes to pass the provider context. Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/12581) --- providers/implementations/exchange/dh_exch.c | 2 +- providers/implementations/exchange/ecdh_exch.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'providers/implementations/exchange') diff --git a/providers/implementations/exchange/dh_exch.c b/providers/implementations/exchange/dh_exch.c index 765ab2e89a..c0cb378c12 100644 --- a/providers/implementations/exchange/dh_exch.c +++ b/providers/implementations/exchange/dh_exch.c @@ -163,7 +163,7 @@ static const OSSL_PARAM known_settable_ctx_params[] = { OSSL_PARAM_END }; -static const OSSL_PARAM *dh_settable_ctx_params(void) +static const OSSL_PARAM *dh_settable_ctx_params(void *provctx) { return known_settable_ctx_params; } diff --git a/providers/implementations/exchange/ecdh_exch.c b/providers/implementations/exchange/ecdh_exch.c index ba28d5102e..d2d7f7ed07 100644 --- a/providers/implementations/exchange/ecdh_exch.c +++ b/providers/implementations/exchange/ecdh_exch.c @@ -279,7 +279,7 @@ static const OSSL_PARAM known_settable_ctx_params[] = { }; static -const OSSL_PARAM *ecdh_settable_ctx_params(void) +const OSSL_PARAM *ecdh_settable_ctx_params(void *provctx) { return known_settable_ctx_params; } @@ -360,7 +360,7 @@ static const OSSL_PARAM known_gettable_ctx_params[] = { }; static -const OSSL_PARAM *ecdh_gettable_ctx_params(void) +const OSSL_PARAM *ecdh_gettable_ctx_params(void *provctx) { return known_gettable_ctx_params; } -- cgit v1.2.3