From b08ade68fc1891bf0415faf601470ee9c622d59b Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 4 Sep 2016 09:00:14 +0000 Subject: Options that take a time argument....take an argument diff from Kinichiro Inoguchi (kinichiro.inoguchi (at) gmail.com) --- src/usr.bin/openssl/apps.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: apps.c,v 1.39 2016/08/30 14:34:59 deraadt Exp $ */ +/* $OpenBSD: apps.c,v 1.40 2016/09/04 09:00:14 guenther Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -2218,7 +2218,8 @@ options_parse(int argc, char **argv, struct option *opts, char **unnamed, opt->type == OPTION_ARG_FORMAT || opt->type == OPTION_ARG_FUNC || opt->type == OPTION_ARG_INT || - opt->type == OPTION_ARG_LONG) { + opt->type == OPTION_ARG_LONG || + opt->type == OPTION_ARG_TIME) { if (++i >= argc) { fprintf(stderr, "missing %s argument for -%s\n", opt->argname, opt->name); -- cgit v1.2.3-55-g6feb