[or-cvs] use shorter minimum key lifetime until 008 is dead

Nick Mathewson nickm at seul.org
Tue Nov 30 06:44:09 UTC 2004


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv4887/src/or

Modified Files:
	config.c 
Log Message:
use shorter minimum key lifetime until 008 is dead

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -d -r1.273 -r1.274
--- config.c	30 Nov 2004 06:17:35 -0000	1.273
+++ config.c	30 Nov 2004 06:44:07 -0000	1.274
@@ -1286,7 +1286,8 @@
 #define MIN_REND_POST_PERIOD 300
 #define MIN_STATUS_FETCH_PERIOD 60
 
-#define MAX_DIR_PERIOD (MIN_ONION_KEY_LIFETIME/2)
+  /* After 0.0.8 is dead, change this to MIN_ONION_KEY_LIFETIME. */
+#define MAX_DIR_PERIOD (OLD_MIN_ONION_KEY_LIFETIME/2)
 #define MAX_CACHE_DIR_FETCH_PERIOD 3600
 #define MAX_CACHE_STATUS_FETCH_PERIOD 900
 



More information about the tor-commits mailing list