tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 3bc580633968ab38ddecb86c866bf95d116afccb
parent 8e5450b7524798467479ebe2aef0f7081a74ea48
Author: Nick Mathewson <nickm@torproject.org>
Date:   Wed, 20 Dec 2017 10:39:38 -0500

Merge branch 'maint-0.3.2'

Diffstat:
Msrc/test/test_hs_common.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/test_hs_common.c b/src/test/test_hs_common.c @@ -1053,7 +1053,7 @@ are_responsible_hsdirs_equal(void) { int count = 0; tt_int_op(smartlist_len(client_responsible_hsdirs), OP_EQ, 6); - tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 6); + tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 8); SMARTLIST_FOREACH_BEGIN(client_responsible_hsdirs, const routerstatus_t *, c_rs) { @@ -1415,7 +1415,7 @@ run_reachability_scenario(const reachability_cfg_t *cfg, int num_scenario) cfg->client_fetch_next_desc, 0, service_responsible_hsdirs); cleanup_nodelist(); - tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 6); + tt_int_op(smartlist_len(service_responsible_hsdirs), OP_EQ, 8); UNMOCK(networkstatus_get_latest_consensus); UNMOCK(networkstatus_get_live_consensus); @@ -1605,7 +1605,7 @@ helper_test_hsdir_sync(networkstatus_t *ns, /* Cleanup right now so we don't memleak on error. */ cleanup_nodelist(); /* Check that previous hsdirs were populated */ - tt_int_op(smartlist_len(desc->previous_hsdirs), OP_EQ, 6); + tt_int_op(smartlist_len(desc->previous_hsdirs), OP_EQ, 8); /* 3) Initialize client time */ helper_set_consensus_and_system_time(ns, client_position);