summaryrefslogtreecommitdiff
path: root/apps/crl2pkcs7.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/crl2pkcs7.c')
-rw-r--r--apps/crl2pkcs7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/crl2pkcs7.c b/apps/crl2pkcs7.c
index fe59e65427..681c60285f 100644
--- a/apps/crl2pkcs7.c
+++ b/apps/crl2pkcs7.c
@@ -104,8 +104,7 @@ int crl2pkcs7_main(int argc, char **argv)
}
/* No remaining args. */
- argc = opt_num_rest();
- if (argc != 0)
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
if (!nocrl) {