diff options
author | Taylor Yu <catalyst@torproject.org> | 2018-05-03 15:24:31 -0500 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2018-05-08 17:59:03 -0500 |
commit | 5bd2060054095f590559beb57b46c353476084f0 (patch) | |
tree | 4a0ce4f7e23ce6afdad6a41cdd2e72eb26d2f7e9 /src/or/connection.c | |
parent | 6bfa87d3aabd9dae87f0bcb2f456b926e58ed157 (diff) | |
download | tor-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