diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-16 11:52:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-22 19:43:07 -0400 |
commit | f1c1328f8518ad46f09d36ef3545a7ac266658eb (patch) | |
tree | f840584eecc0ad850b64b78df84494b324ff2419 /src/test/test_hs.c | |
parent | 47163780c3682d881ad6e8044320a57fce439ea1 (diff) | |
download | tor-f1c1328f8518ad46f09d36ef3545a7ac266658eb.tar.gz tor-f1c1328f8518ad46f09d36ef3545a7ac266658eb.zip |
Repair the legacy_hs/pick_tor2web_rendezvous_node unit test
It tried to pick nodes for which only routerinfo_t items are set,
but without setting UseMicroDescriptors to 0. This won't work any
more, now that we're strict about using the right descriptor types
due to 25691/25692/25213.
Diffstat (limited to 'src/test/test_hs.c')
-rw-r--r-- | src/test/test_hs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c index 9189bb65be..64448de510 100644 --- a/src/test/test_hs.c +++ b/src/test/test_hs.c @@ -361,6 +361,7 @@ test_pick_tor2web_rendezvous_node(void *arg) /* Parse Tor2webRendezvousPoints as a routerset. */ options->Tor2webRendezvousPoints = routerset_new(); + options->UseMicrodescriptors = 0; retval = routerset_parse(options->Tor2webRendezvousPoints, tor2web_rendezvous_str, "test_tor2web_rp"); |