aboutsummaryrefslogtreecommitdiffstats
path: root/apps/asn1parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/asn1parse.c')
-rw-r--r--apps/asn1parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/asn1parse.c b/apps/asn1parse.c
index f0bfd1d45f..b456f13d94 100644
--- a/apps/asn1parse.c
+++ b/apps/asn1parse.c
@@ -159,8 +159,7 @@ int asn1parse_main(int argc, char **argv)
}
/* No extra args. */
- argc = opt_num_rest();
- if (argc != 0)
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
if (oidfile != NULL) {