aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bridges.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-02 10:16:23 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-02 10:17:46 -0400
commite386d61c9be44e82694d523d48591056984bb319 (patch)
tree4f4a050f7bdd7f4a0235dc21bd0c324a7352221d /src/test/test_bridges.c
parent8625f36de1085cb24e532adb0bb76d3d2b6b5808 (diff)
downloadtor-e386d61c9be44e82694d523d48591056984bb319.tar.gz
tor-e386d61c9be44e82694d523d48591056984bb319.zip
Make hs_get_responsible_hsdirs() deterministic.
This test was using the current time to pick the time period number, and a randomly generated hs key. Therefore, it sometimes picked an index that would wrap around the example dht, and sometimes would not. The fix here is just to fix the time period and the public key. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
Diffstat (limited to 'src/test/test_bridges.c')
0 files changed, 0 insertions, 0 deletions