summaryrefslogtreecommitdiffstats
path: root/providers/implementations/kdfs/pvkkdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/kdfs/pvkkdf.c')
-rw-r--r--providers/implementations/kdfs/pvkkdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/kdfs/pvkkdf.c b/providers/implementations/kdfs/pvkkdf.c
index 85a250ff7c..f60092d771 100644
--- a/providers/implementations/kdfs/pvkkdf.c
+++ b/providers/implementations/kdfs/pvkkdf.c
@@ -182,7 +182,7 @@ static int kdf_pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[])
KDF_PVK *ctx = vctx;
OSSL_LIB_CTX *provctx = PROV_LIBCTX_OF(ctx->provctx);
- if (params == NULL)
+ if (ossl_param_is_empty(params))
return 1;
if (!ossl_prov_digest_load_from_params(&ctx->digest, params, provctx))