Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19865)
(cherry picked from commit
f1b104953af8e3a82f7c5ee33f0403fc067c8516)
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