浏览代码

rotate onion keys every 12 hours, not every 2 hours

svn:r2184
Roger Dingledine 21 年之前
父节点
当前提交
052537dad9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/or.h

+ 1 - 1
src/or/or.h

@@ -135,7 +135,7 @@
 #endif
 #endif
 
 
 /** How often do we rotate onion keys? */
 /** How often do we rotate onion keys? */
-#define MIN_ONION_KEY_LIFETIME (120*60)
+#define MIN_ONION_KEY_LIFETIME (12*60*60)
 /** How often do we rotate TLS contexts? */
 /** How often do we rotate TLS contexts? */
 #define MAX_SSL_KEY_LIFETIME (120*60)
 #define MAX_SSL_KEY_LIFETIME (120*60)