diff options
Diffstat (limited to 'src/usr.bin/openssl/speed.c')
-rw-r--r-- | src/usr.bin/openssl/speed.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/speed.c b/src/usr.bin/openssl/speed.c index 90cf6de011..4238b15f61 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.20 2017/10/07 06:16:54 guenther Exp $ */ | 1 | /* $OpenBSD: speed.c,v 1.21 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 | * |
@@ -202,7 +202,10 @@ sig_done(int sig) | |||
202 | static double | 202 | static double |
203 | Time_F(int s) | 203 | Time_F(int s) |
204 | { | 204 | { |
205 | return app_tminterval(s, usertime); | 205 | if (usertime) |
206 | return app_timer_user(s); | ||
207 | else | ||
208 | return app_timer_real(s); | ||
206 | } | 209 | } |
207 | 210 | ||
208 | 211 | ||