summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.h
diff options
context:
space:
mode:
authorjca <>2017-12-05 15:02:06 +0000
committerjca <>2017-12-05 15:02:06 +0000
commitbfd05667a48d9cd78ffd15858ceeda66e215fb5a (patch)
treea2b7a9f62feac0c78c0fc3f4d2e4d213ea4ee4b4 /src/usr.bin/openssl/apps.h
parent600f75bb29d99689e97396445d8fe7607c8d33e5 (diff)
downloadopenbsd-bfd05667a48d9cd78ffd15858ceeda66e215fb5a.tar.gz
openbsd-bfd05667a48d9cd78ffd15858ceeda66e215fb5a.tar.bz2
openbsd-bfd05667a48d9cd78ffd15858ceeda66e215fb5a.zip
Seperate real and user timer interfaces
Use more descriptive names, and make it clearer that real and user timers work on different static storage. The end goal is to be able to reuse those timer functions, instead of inlining other timer implementations subject to clock jumps. Discussed with Scott Cheloha
Diffstat (limited to 'src/usr.bin/openssl/apps.h')
-rw-r--r--src/usr.bin/openssl/apps.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h
index 4276e533f7..d02169b8aa 100644
--- a/src/usr.bin/openssl/apps.h
+++ b/src/usr.bin/openssl/apps.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: apps.h,v 1.19 2016/08/30 14:34:59 deraadt Exp $ */ 1/* $OpenBSD: apps.h,v 1.20 2017/12/05 15:02:06 jca 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 *
@@ -279,7 +279,8 @@ int app_isdir(const char *);
279 279
280#define TM_START 0 280#define TM_START 0
281#define TM_STOP 1 281#define TM_STOP 1
282double app_tminterval (int stop, int usertime); 282double app_timer_real(int stop);
283double app_timer_user(int stop);
283 284
284#define OPENSSL_NO_SSL_INTERN 285#define OPENSSL_NO_SSL_INTERN
285 286