aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2018-05-03 15:24:31 -0500
committerTaylor Yu <catalyst@torproject.org>2018-05-08 17:59:03 -0500
commit5bd2060054095f590559beb57b46c353476084f0 (patch)
tree4a0ce4f7e23ce6afdad6a41cdd2e72eb26d2f7e9 /src/or/connection.c
parent6bfa87d3aabd9dae87f0bcb2f456b926e58ed157 (diff)
downloadtor-5bd2060054095f590559beb57b46c353476084f0.tar.gz
tor-5bd2060054095f590559beb57b46c353476084f0.zip
tests: Add "now" param to construct_consensus()
construct_consensus() in test_routerlist.c created votes using a timestamp from time(). Tests that called construct_consensus() might have nondeterministic results if they rely on time() not changing too much on two successive calls. Neither existing of the two existing tests that calls construct_consensus is likely to have a failure due to this problem.
Diffstat (limited to 'src/or/connection.c')
0 files changed, 0 insertions, 0 deletions