summaryrefslogtreecommitdiffstats
path: root/apps/lib
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-02-10 13:29:49 +1000
committerRichard Levitte <levitte@openssl.org>2020-02-21 13:04:25 +0100
commit2ee0dfa684d5fbda5758136807e2732bd4f85139 (patch)
tree5560e23cc1c6316981d61bc19a105cd54c198d5f /apps/lib
parent7b5108dff4cfde059ca278147a188fb6254603d1 (diff)
Params: add argument to the _from_text calls to indicate if the param exists.
The extra argument is a integer pointer and is optional. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11049)
Diffstat (limited to 'apps/lib')
-rw-r--r--apps/lib/apps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c
index bf20254463..3a9521f67e 100644
--- a/apps/lib/apps.c
+++ b/apps/lib/apps.c
@@ -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);
}