From bfd05667a48d9cd78ffd15858ceeda66e215fb5a Mon Sep 17 00:00:00 2001 From: jca <> Date: Tue, 5 Dec 2017 15:02:06 +0000 Subject: 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 --- src/usr.bin/openssl/apps.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/apps.h') 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 @@ -/* $OpenBSD: apps.h,v 1.19 2016/08/30 14:34:59 deraadt Exp $ */ +/* $OpenBSD: apps.h,v 1.20 2017/12/05 15:02:06 jca Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -279,7 +279,8 @@ int app_isdir(const char *); #define TM_START 0 #define TM_STOP 1 -double app_tminterval (int stop, int usertime); +double app_timer_real(int stop); +double app_timer_user(int stop); #define OPENSSL_NO_SSL_INTERN -- cgit v1.2.3-55-g6feb