diff options
Diffstat (limited to 'providers/implementations/kdfs/argon2.c')
-rw-r--r-- | providers/implementations/kdfs/argon2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/kdfs/argon2.c b/providers/implementations/kdfs/argon2.c index 6acf47fb1a..e3f9aa4f0f 100644 --- a/providers/implementations/kdfs/argon2.c +++ b/providers/implementations/kdfs/argon2.c @@ -1394,7 +1394,7 @@ static int kdf_argon2_set_ctx_params(void *vctx, const OSSL_PARAM params[]) KDF_ARGON2 *ctx; uint32_t u32_value; - if (params == NULL) + if (ossl_param_is_empty(params)) return 1; ctx = (KDF_ARGON2 *) vctx; |