Params: add argument to the _from_text calls to indicate if the param exists.
[openssl.git] / crypto / evp / pkey_kdf.c
index 818c89eab2c553568494a05d30262f1810b7e1dc..86c2fac612ad2271164d837df6bf45e660ab9c55 100644 (file)
@@ -224,7 +224,7 @@ static int pkey_kdf_ctrl_str(EVP_PKEY_CTX *ctx, const char *type,
         type = OSSL_KDF_PARAM_SCRYPT_N;
 
     if (!OSSL_PARAM_allocate_from_text(&params[0], defs, type,
-                                       value, strlen(value)))
+                                       value, strlen(value), NULL))
         return 0;
 
     /*