diff options
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r-- | apps/ocsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index 841b5f7b81..b0d030a940 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -535,8 +535,7 @@ int ocsp_main(int argc, char **argv) } /* No extra arguments. */ - argc = opt_num_rest(); - if (argc != 0) + if (!opt_check_rest_arg(NULL)) goto opthelp; if (trailing_md) { |