[tor-bugs] #11452 [Tor]: undef DEAD_CERT_LIFETIME too in trusted_dirs_remove_old_certs()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Apr 8 22:44:46 UTC 2014
#11452: undef DEAD_CERT_LIFETIME too in trusted_dirs_remove_old_certs()
---------------------+----------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: trivial | Milestone: Tor: unspecified
Component: Tor | Version:
Keywords: easy | Actual Points:
Parent ID: | Points:
---------------------+----------------------------------
In trusted_dirs_remove_old_certs() we have
{{{
#define DEAD_CERT_LIFETIME (2*24*60*60)
#define OLD_CERT_LIFETIME (7*24*60*60)
[...use them...]
#undef OLD_CERT_LIFETIME
}}}
Shouldn't we undef both (or neither)?
Introduced in git commit 8157b8b7.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11452>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list