summaryrefslogtreecommitdiff
path: root/apps/fipsinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/fipsinstall.c')
-rw-r--r--apps/fipsinstall.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c
index 363631112e..5af007083a 100644
--- a/apps/fipsinstall.c
+++ b/apps/fipsinstall.c
@@ -382,9 +382,12 @@ opthelp:
}
/* No extra arguments. */
- argc = opt_num_rest();
- if (argc != 0 || (verify && in_fname == NULL))
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
+ if (verify && in_fname == NULL) {
+ BIO_printf(bio_err, "Missing -in option for -verify\n");
+ goto opthelp;
+ }
if (parent_config != NULL) {
/* Test that a parent config can load the module */