]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
use shorter minimum key lifetime until 008 is dead
authorNick Mathewson <nickm@torproject.org>
Tue, 30 Nov 2004 06:44:07 +0000 (06:44 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 30 Nov 2004 06:44:07 +0000 (06:44 +0000)
svn:r3035

src/or/config.c

index 3aa95b563d00309074e6f8e3ac17d03631233df6..1ec14e18c6397a734bc2d27fb27f622ae9648516 100644 (file)
@@ -1286,7 +1286,8 @@ options_validate(or_options_t *options)
 #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