diff options
author | jsing <> | 2014-12-28 15:48:52 +0000 |
---|---|---|
committer | jsing <> | 2014-12-28 15:48:52 +0000 |
commit | 0a741ac7e42db811df0097733917db45dc05779e (patch) | |
tree | 133d9e945c00870d0638caa5e38213bcb77fe251 /src/usr.bin/openssl/ecparam.c | |
parent | e4c7f4f3a5e8f184315c03f7e5313a6caf8e5be6 (diff) | |
download | openbsd-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/ecparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ecparam.c b/src/usr.bin/openssl/ecparam.c index 57797a8e4e..c958c1f51b 100644 --- a/src/usr.bin/openssl/ecparam.c +++ b/src/usr.bin/openssl/ecparam.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecparam.c,v 1.7 2014/12/28 14:21:42 jsing Exp $ */ | 1 | /* $OpenBSD: ecparam.c,v 1.8 2014/12/28 15:48:52 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -277,7 +277,7 @@ ecparam_main(int argc, char **argv) | |||
277 | ecparam_config.informat = FORMAT_PEM; | 277 | ecparam_config.informat = FORMAT_PEM; |
278 | ecparam_config.outformat = FORMAT_PEM; | 278 | ecparam_config.outformat = FORMAT_PEM; |
279 | 279 | ||
280 | if (options_parse(argc, argv, ecparam_options, NULL) != 0) { | 280 | if (options_parse(argc, argv, ecparam_options, NULL, NULL) != 0) { |
281 | ecparam_usage(); | 281 | ecparam_usage(); |
282 | goto end; | 282 | goto end; |
283 | } | 283 | } |