Files
tor/changes
Nick Mathewson 0849d2a2fd Avoid using labs() on time_t in channeltls.c
On some windows builds, time_t is 64 bits but long is not.  This is
causing appveyor builds to fail.

Also, one of our uses of labs() on time_t was logically incorrect:
it was telling us to accept NETINFO cells up to three minutes
_before_ the message they were responding to, which doesn't make
sense.

This patch adds a time_abs() function that we should eventually move
to intmath.h or something.  For now, though, it will make merges
easier to have it file-local in channeltls.c.

Fixes bug 31343; bugfix on 0.2.4.4-alpha.
2019-08-06 11:11:06 -04:00
..
2018-09-17 22:19:43 +00:00
2018-09-01 18:47:20 -04:00
2018-11-12 15:39:28 -05:00
2019-02-19 11:38:32 -05:00
2018-09-18 19:26:54 +10:00
2019-06-28 21:38:33 +10:00