Skip to content

Commit

Permalink
timing_load_creds: Fix typos in the timersub macro
Browse files Browse the repository at this point in the history
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #19865)
  • Loading branch information
t8m committed Dec 14, 2022
1 parent 5c92ac5 commit f1b1049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/timing_load_creds.c
Expand Up @@ -27,10 +27,10 @@
do { \
(res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
if ((a)->tv_usec < (b)->tv_usec) { \
(res)->tv_usec = (a)->tv_usec + 1000000 - (b)->tv_usec); \
(res)->tv_usec = (a)->tv_usec + 1000000 - (b)->tv_usec; \
--(res)->tv_sec; \
} else { \
(res)->tv_usec = (a)->tv_usec - (b)->tv_usec); \
(res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
} \
} while(0)
# endif
Expand Down

0 comments on commit f1b1049

Please sign in to comment.