diff options
author | Taylor Yu <catalyst@torproject.org> | 2018-05-04 17:16:06 -0500 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2018-05-08 17:59:03 -0500 |
commit | de343b4e421c0c651eaac1d52d23c3c792bee73a (patch) | |
tree | 7507ded322eda3141794f23457b93331c3931218 /src/or/rendservice.c | |
parent | d6948bc7764dca7644b331aaf37453b328239e6d (diff) | |
download | tor-de343b4e421c0c651eaac1d52d23c3c792bee73a.tar.gz tor-de343b4e421c0c651eaac1d52d23c3c792bee73a.zip |
Improve tolerance for dirauths with skewed clocks
Previously, an authority with a clock more than 60 seconds ahead could
cause a client with a correct clock to warn that the client's clock
was behind. Now the clocks of a majority of directory authorities
have to be ahead of the client before this warning will occur.
Relax the early-consensus check so that a client's clock must be 60
seconds behind the earliest time that a given sufficiently-signed
consensus could possibly be available.
Add a new unit test that calls warn_early_consensus() directly.
Fixes bug 25756; bugfix on 0.2.2.25-alpha.
Diffstat (limited to 'src/or/rendservice.c')
0 files changed, 0 insertions, 0 deletions