diff options
| author | guenther <> | 2016-09-04 09:00:14 +0000 | 
|---|---|---|
| committer | guenther <> | 2016-09-04 09:00:14 +0000 | 
| commit | 05336dcfe9fe74cdb5c01dbe94aff1e84fba2f12 (patch) | |
| tree | 26350c9f83c44f2fda8df4e57922e9b17bc1ced8 | |
| parent | 9bf1b736c1397d5d15bf7771d7c2958bb5ce031a (diff) | |
| download | openbsd-05336dcfe9fe74cdb5c01dbe94aff1e84fba2f12.tar.gz openbsd-05336dcfe9fe74cdb5c01dbe94aff1e84fba2f12.tar.bz2 openbsd-05336dcfe9fe74cdb5c01dbe94aff1e84fba2f12.zip | |
Options that take a time argument....take an argument
diff from Kinichiro Inoguchi (kinichiro.inoguchi (at) gmail.com)
Diffstat (limited to '')
| -rw-r--r-- | src/usr.bin/openssl/apps.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c index 7c8df2b322..8daf924f0f 100644 --- a/src/usr.bin/openssl/apps.c +++ b/src/usr.bin/openssl/apps.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: apps.c,v 1.39 2016/08/30 14:34:59 deraadt Exp $ */ | 1 | /* $OpenBSD: apps.c,v 1.40 2016/09/04 09:00:14 guenther Exp $ */ | 
| 2 | /* | 2 | /* | 
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 
| 4 | * | 4 | * | 
| @@ -2218,7 +2218,8 @@ options_parse(int argc, char **argv, struct option *opts, char **unnamed, | |||
| 2218 | opt->type == OPTION_ARG_FORMAT || | 2218 | opt->type == OPTION_ARG_FORMAT || | 
| 2219 | opt->type == OPTION_ARG_FUNC || | 2219 | opt->type == OPTION_ARG_FUNC || | 
| 2220 | opt->type == OPTION_ARG_INT || | 2220 | opt->type == OPTION_ARG_INT || | 
| 2221 | opt->type == OPTION_ARG_LONG) { | 2221 | opt->type == OPTION_ARG_LONG || | 
| 2222 | opt->type == OPTION_ARG_TIME) { | ||
| 2222 | if (++i >= argc) { | 2223 | if (++i >= argc) { | 
| 2223 | fprintf(stderr, "missing %s argument for -%s\n", | 2224 | fprintf(stderr, "missing %s argument for -%s\n", | 
| 2224 | opt->argname, opt->name); | 2225 | opt->argname, opt->name); | 
