tor/src
David Goulet 5b03c7ba6d Fix check_expired_networkstatus_callback() if condition
The condition was always true meaning that we would reconsider updating our
directory information every 2 minutes.

If valid_until is 6am today, then now - 24h == 1pm yesterday which means that
"valid_until < (now - 24h)" is false. But at 6:01am tomorrow, "valid_until <
(now - 24h)" becomes true which is that point that we shouldn't trust the
consensus anymore.

Fixes #23091

Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-08-02 13:28:45 -04:00
..
common Turn base < 0 into a BUG() in our long-parse functions. 2017-07-28 10:26:06 -04:00
config Merge branch 'maint-0.3.0' into maint-0.3.1 2017-08-01 11:19:30 -04:00
ext Merge branch 'bug22895_027' 2017-07-27 11:27:07 -04:00
or Fix check_expired_networkstatus_callback() if condition 2017-08-02 13:28:45 -04:00
rust use CARGO_HOME instead of HOME when building with rust 2017-07-13 18:12:35 +00:00
test Merge branch 'maint-0.3.1' 2017-08-02 12:51:46 -04:00
tools Add --enable-rust configure switch 2017-04-29 08:55:57 +02:00
trace Add stub function for libor-trace. 2017-04-25 18:02:19 +02:00
trunnel Merge branch 'netflow_padding-v6-rebased2-squashed' 2017-05-08 13:54:59 -04:00
win32 bump to 0.3.1.5-alpha-dev 2017-08-01 12:08:30 -04:00
include.am Add --enable-rust configure switch 2017-04-29 08:55:57 +02:00