diff options
author | 2016-09-04 09:00:14 +0000 | |
---|---|---|
committer | 2016-09-04 09:00:14 +0000 | |
commit | 712e3e775f0d37e41da70cb91dde08018ea6bb25 (patch) | |
tree | d9e8b65219dcf84de5a18a39021881e46cd5f24b | |
parent | TCB_GET_MEMBER() is no longer used after the TIB changes (diff) | |
download | wireguard-openbsd-712e3e775f0d37e41da70cb91dde08018ea6bb25.tar.xz wireguard-openbsd-712e3e775f0d37e41da70cb91dde08018ea6bb25.zip |
Options that take a time argument....take an argument
diff from Kinichiro Inoguchi (kinichiro.inoguchi (at) gmail.com)
-rw-r--r-- | usr.bin/openssl/apps.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c index 7c8df2b3224..8daf924f0f6 100644 --- a/usr.bin/openssl/apps.c +++ b/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 <jsing@openbsd.org> * @@ -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); |