summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/crl.c
diff options
context:
space:
mode:
authorjsing <>2014-12-28 15:48:52 +0000
committerjsing <>2014-12-28 15:48:52 +0000
commit0a741ac7e42db811df0097733917db45dc05779e (patch)
tree133d9e945c00870d0638caa5e38213bcb77fe251 /src/usr.bin/openssl/crl.c
parente4c7f4f3a5e8f184315c03f7e5313a6caf8e5be6 (diff)
downloadopenbsd-0a741ac7e42db811df0097733917db45dc05779e.tar.gz
openbsd-0a741ac7e42db811df0097733917db45dc05779e.tar.bz2
openbsd-0a741ac7e42db811df0097733917db45dc05779e.zip
Provide a mechanism for option parsing to return the number of arguments
that it has consumed. This allows for the handling of multiple unnamed arguments, including lists of filenames.
Diffstat (limited to '')
-rw-r--r--src/usr.bin/openssl/crl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/crl.c b/src/usr.bin/openssl/crl.c
index 0391e6e4dc..2b6a4a3e5d 100644
--- a/src/usr.bin/openssl/crl.c
+++ b/src/usr.bin/openssl/crl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crl.c,v 1.5 2014/10/13 02:46:14 bcook Exp $ */ 1/* $OpenBSD: crl.c,v 1.6 2014/12/28 15:48:52 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -244,7 +244,7 @@ crl_main(int argc, char **argv)
244 crl_config.informat = FORMAT_PEM; 244 crl_config.informat = FORMAT_PEM;
245 crl_config.outformat = FORMAT_PEM; 245 crl_config.outformat = FORMAT_PEM;
246 246
247 if (options_parse(argc, argv, crl_options, &digest_name) != 0) { 247 if (options_parse(argc, argv, crl_options, &digest_name, NULL) != 0) {
248 crl_usage(); 248 crl_usage();
249 goto end; 249 goto end;
250 } 250 }