summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_time.c
diff options
context:
space:
mode:
authorderaadt <>2016-08-30 14:34:59 +0000
committerderaadt <>2016-08-30 14:34:59 +0000
commit6234e4b96d0d6887c6687ccfb99d913a817b16d1 (patch)
tree9d1b9e2de65d172b73ddf2eb1ec3c73b51ac4227 /src/usr.bin/openssl/s_time.c
parentbd04155124d91da1b4f4e79547dcfb68cd14452c (diff)
downloadopenbsd-6234e4b96d0d6887c6687ccfb99d913a817b16d1.tar.gz
openbsd-6234e4b96d0d6887c6687ccfb99d913a817b16d1.tar.bz2
openbsd-6234e4b96d0d6887c6687ccfb99d913a817b16d1.zip
Add OPTION_ARG_TIME for parsing a (64 bit if needed) time_t
prodding & ok jsing
Diffstat (limited to 'src/usr.bin/openssl/s_time.c')
-rw-r--r--src/usr.bin/openssl/s_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/s_time.c b/src/usr.bin/openssl/s_time.c
index 6df03af41c..a88df1bfe2 100644
--- a/src/usr.bin/openssl/s_time.c
+++ b/src/usr.bin/openssl/s_time.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_time.c,v 1.15 2016/08/30 11:30:14 deraadt Exp $ */ 1/* $OpenBSD: s_time.c,v 1.16 2016/08/30 14:34:59 deraadt Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -194,7 +194,7 @@ struct option s_time_options[] = {
194 .name = "time", 194 .name = "time",
195 .argname = "seconds", 195 .argname = "seconds",
196 .desc = "Duration to perform timing tests for (default 30)", 196 .desc = "Duration to perform timing tests for (default 30)",
197 .type = OPTION_ARG_INT, 197 .type = OPTION_ARG_TIME,
198 .opt.tvalue = &s_time_config.maxtime, 198 .opt.tvalue = &s_time_config.maxtime,
199 }, 199 },
200 { 200 {