Make sure we pass the provider side ctx and not the libcrypto side ctx.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9865)
*params = OSSL_PARAM_construct_size_t(OSSL_KDF_PARAM_SIZE, &s);
if (ctx->meth->get_ctx_params != NULL
- && ctx->meth->get_ctx_params(ctx, params))
+ && ctx->meth->get_ctx_params(ctx->data, params))
return s;
if (ctx->meth->get_params != NULL
&& ctx->meth->get_params(params))