diff options
author | Lawrence Teo <lteo@cvs.openbsd.org> | 2015-01-02 04:00:22 +0000 |
---|---|---|
committer | Lawrence Teo <lteo@cvs.openbsd.org> | 2015-01-02 04:00:22 +0000 |
commit | 4d0f67828a242ffcb805366d95505a0e8fc011bf (patch) | |
tree | cf4c1871e0f2ba6e49ad1d39f876a53d32a8f859 | |
parent | 07abbb770317e4285c90193265126d4f828ef74c (diff) |
Remove ifdef statements for TIMES and USE_TOD; they don't do anything,
apart from introducing a bug where the -elapsed option is not listed in
the usage output when it should be.
feedback/ok bcook@ jsing@
-rw-r--r-- | usr.bin/openssl/speed.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/openssl/speed.c b/usr.bin/openssl/speed.c index ccaef15f682..b9eca831ffe 100644 --- a/usr.bin/openssl/speed.c +++ b/usr.bin/openssl/speed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: speed.c,v 1.2 2014/10/22 13:54:03 jsing Exp $ */ +/* $OpenBSD: speed.c,v 1.3 2015/01/02 04:00:21 lteo Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -480,9 +480,7 @@ speed_main(int argc, char **argv) int multi = 0; const char *errstr = NULL; -#ifndef TIMES usertime = -1; -#endif memset(results, 0, sizeof(results)); memset(dsa_key, 0, sizeof(dsa_key)); @@ -958,9 +956,7 @@ speed_main(int argc, char **argv) BIO_printf(bio_err, "\n"); BIO_printf(bio_err, "Available options:\n"); -#if defined(TIMES) || defined(USE_TOD) BIO_printf(bio_err, "-elapsed measure time in real time instead of CPU user time.\n"); -#endif #ifndef OPENSSL_NO_ENGINE BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); #endif |