[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #11452 [Tor]: undef DEAD_CERT_LIFETIME too in trusted_dirs_remove_old_certs()



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs