diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-30 06:44:07 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-30 06:44:07 +0000 |
commit | bec7a1c6e82d1c69f6a25a3c7bae1158ed2eee1e (patch) | |
tree | c81bcbc31fa8eddf2586ad67674abb492e66b5c8 /src | |
parent | 38e0dc94e172c41f3554fe5a913d817f5cd4b499 (diff) | |
download | tor-bec7a1c6e82d1c69f6a25a3c7bae1158ed2eee1e.tar.gz tor-bec7a1c6e82d1c69f6a25a3c7bae1158ed2eee1e.zip |
use shorter minimum key lifetime until 008 is dead
svn:r3035
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 3aa95b563d..1ec14e18c6 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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 |