aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-13 15:37:41 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-27 11:19:54 -0500
commitf6e5a658df84cf9dd01ab7d61cfb25f0fb9040c1 (patch)
tree32ff03d1845f4f327d4472c541ab802bc082e5c5 /src/or
parenta86f95df5c34df2921e8f3e76f171c0576fc2a20 (diff)
downloadtor-f6e5a658df84cf9dd01ab7d61cfb25f0fb9040c1.tar.gz
tor-f6e5a658df84cf9dd01ab7d61cfb25f0fb9040c1.zip
Revise the logic for picking the start time for link certs
Since 0.2.4.11-alpha (in 0196647970a91d) we've tried to randomize the start time to up to some time in the past. But unfortunately we allowed the start time to be in the future as well, which isn't really legit. The new behavior lets the start time be be up to MAX(cert_lifetime-2days, 0) in the past, but never in the future. Fixes bug 21420; bugfix on 0.2.4.11-alpha.
Diffstat (limited to 'src/or')
0 files changed, 0 insertions, 0 deletions