mirror of https://github.com/openssl/openssl.git
timing_load_creds: Fix typos in the timersub macro
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19865)
This commit is contained in:
parent
5c92ac52c2
commit
f1b104953a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue