summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlteo <lteo@openbsd.org>2015-01-02 04:00:21 +0000
committerlteo <lteo@openbsd.org>2015-01-02 04:00:21 +0000
commit16021d40bdf5b4563be3507a417128536e3443db (patch)
tree1e1585ef8167005581694395f57f8e8a1578dc65
parentAdd some additional i.MX6 board types from Bitrig. (diff)
downloadwireguard-openbsd-16021d40bdf5b4563be3507a417128536e3443db.tar.xz
wireguard-openbsd-16021d40bdf5b4563be3507a417128536e3443db.zip
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.c6
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