From 7a45bc74a430ff64f0696c77f075f9c830822413 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 29 Nov 2018 00:46:39 +1000 Subject: Dir: when Tor's clock is behind, use a future consensus to bootstrap When Tor's clock is behind the clocks on the authorities, allow Tor to bootstrap successfully. Fixes bug 28591; bugfix on 0.2.0.9-alpha. --- src/test/test_routerlist.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/test/test_routerlist.c') diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c index 67af2fd484..6ba4877b91 100644 --- a/src/test/test_routerlist.c +++ b/src/test/test_routerlist.c @@ -301,7 +301,6 @@ test_router_pick_directory_server_impl(void *arg) tt_assert(!networkstatus_consensus_is_bootstrapping(con_md->valid_until + 24*60*60)); /* These times are outside the test validity period */ - tt_assert(networkstatus_consensus_is_bootstrapping(now)); tt_assert(networkstatus_consensus_is_bootstrapping(now + 2*24*60*60)); tt_assert(networkstatus_consensus_is_bootstrapping(now - 2*24*60*60)); -- cgit v1.2.3-54-g00ecf