summaryrefslogtreecommitdiffstats
path: root/apps/info.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-08-27 15:33:18 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-12-07 15:26:40 +0100
commitd9f073575fdb07b486cd1b38974cd177687ccc1e (patch)
treed0e8bf2bb5f98e59ae5fb06a07f4115ab5468516 /apps/info.c
parentb0be101326f369f0dd547556d2f3eb3ef5ed0e33 (diff)
APPS: Improve diagnostics on missing/extra args and unknown cipher/digest
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16450)
Diffstat (limited to 'apps/info.c')
-rw-r--r--apps/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/info.c b/apps/info.c
index c68603652f..befc62dac1 100644
--- a/apps/info.c
+++ b/apps/info.c
@@ -86,7 +86,7 @@ opthelp:
break;
}
}
- if (opt_num_rest() != 0)
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
if (dirty > 1) {
BIO_printf(bio_err, "%s: Only one item allowed\n", prog);