diff options
author | cheloha <> | 2018-07-13 18:36:56 +0000 |
---|---|---|
committer | cheloha <> | 2018-07-13 18:36:56 +0000 |
commit | 4ffff01bec4bc66afd2ef22fba624a0d3cffdc04 (patch) | |
tree | 59b9811cbdf2d09e36af97ea0c076544d116dd13 /src/usr.bin/openssl/speed.c | |
parent | 2784227e885350759036fb7b1ecc5b560746db18 (diff) | |
download | openbsd-4ffff01bec4bc66afd2ef22fba624a0d3cffdc04.tar.gz openbsd-4ffff01bec4bc66afd2ef22fba624a0d3cffdc04.tar.bz2 openbsd-4ffff01bec4bc66afd2ef22fba624a0d3cffdc04.zip |
openssl app timers: TM_START -> TM_RESET, TM_STOP -> TM_GET
Much more apt than the current operation names.
Names suggested by jca@ ages ago.
ok jca, jsing
Diffstat (limited to 'src/usr.bin/openssl/speed.c')
-rw-r--r-- | src/usr.bin/openssl/speed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/speed.c b/src/usr.bin/openssl/speed.c index a21f67b5cf..3d226a204e 100644 --- a/src/usr.bin/openssl/speed.c +++ b/src/usr.bin/openssl/speed.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: speed.c,v 1.22 2018/02/07 05:47:55 jsing Exp $ */ | 1 | /* $OpenBSD: speed.c,v 1.23 2018/07/13 18:36:56 cheloha 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 | * |
@@ -195,8 +195,8 @@ sig_done(int sig) | |||
195 | run = 0; | 195 | run = 0; |
196 | } | 196 | } |
197 | 197 | ||
198 | #define START 0 | 198 | #define START TM_RESET |
199 | #define STOP 1 | 199 | #define STOP TM_GET |
200 | 200 | ||
201 | 201 | ||
202 | static double | 202 | static double |