summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguenther <>2016-09-04 09:00:14 +0000
committerguenther <>2016-09-04 09:00:14 +0000
commitb08ade68fc1891bf0415faf601470ee9c622d59b (patch)
tree26350c9f83c44f2fda8df4e57922e9b17bc1ced8 /src
parentec19cb3fdb0351f3c01644390eff34943552879f (diff)
downloadopenbsd-b08ade68fc1891bf0415faf601470ee9c622d59b.tar.gz
openbsd-b08ade68fc1891bf0415faf601470ee9c622d59b.tar.bz2
openbsd-b08ade68fc1891bf0415faf601470ee9c622d59b.zip
Options that take a time argument....take an argument
diff from Kinichiro Inoguchi (kinichiro.inoguchi (at) gmail.com)
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/apps.c5
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);