diff options
author | 2014-12-28 15:48:52 +0000 | |
---|---|---|
committer | 2014-12-28 15:48:52 +0000 | |
commit | beba0da1f69717d462ce646ef5a6c92fbce8b667 (patch) | |
tree | a58df5b2065a47a4fa1f4136349d14eab9c78f9f /usr.bin/openssl/ecparam.c | |
parent | Attach USB HID devices from the Generic Destop page, usage pointer to (diff) | |
download | wireguard-openbsd-beba0da1f69717d462ce646ef5a6c92fbce8b667.tar.xz wireguard-openbsd-beba0da1f69717d462ce646ef5a6c92fbce8b667.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 'usr.bin/openssl/ecparam.c')
-rw-r--r-- | usr.bin/openssl/ecparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/ecparam.c b/usr.bin/openssl/ecparam.c index 57797a8e4e6..c958c1f51b2 100644 --- a/usr.bin/openssl/ecparam.c +++ b/usr.bin/openssl/ecparam.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecparam.c,v 1.7 2014/12/28 14:21:42 jsing Exp $ */ +/* $OpenBSD: ecparam.c,v 1.8 2014/12/28 15:48:52 jsing Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -277,7 +277,7 @@ ecparam_main(int argc, char **argv) ecparam_config.informat = FORMAT_PEM; ecparam_config.outformat = FORMAT_PEM; - if (options_parse(argc, argv, ecparam_options, NULL) != 0) { + if (options_parse(argc, argv, ecparam_options, NULL, NULL) != 0) { ecparam_usage(); goto end; } |