]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/lib/apps.c
Params: add argument to the _from_text calls to indicate if the param exists.
[thirdparty/openssl.git] / apps / lib / apps.c
index bf20254463ff967893a55ef0801bf4c1b8634db3..3a9521f67e4539b7cd7ac763bb58f94d07a72143 100644 (file)
@@ -2708,7 +2708,7 @@ OSSL_PARAM *app_params_new_from_opts(STACK_OF(OPENSSL_STRING) *opts,
         /* Skip over the separator so that vmtp points to the value */
         vtmp++;
         if (!OSSL_PARAM_allocate_from_text(&params[params_n], paramdefs,
-                                           stmp, vtmp, strlen(vtmp)))
+                                           stmp, vtmp, strlen(vtmp), NULL))
             goto err;
         OPENSSL_free(stmp);
     }