소스 검색

oh, and catch the other instance we should fix

svn:r9122
Roger Dingledine 19 년 전
부모
커밋
c4ed331d8d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/router.c

+ 1 - 1
src/or/router.c

@@ -306,7 +306,7 @@ init_keys(void)
      * start the clock ticking now so that we will eventually rotate it even
      * if we don't stay up for a full MIN_ONION_KEY_LIFETIME. */
     state->LastRotatedOnionKey = time(NULL);
-    or_state_mark_dirty(state, time(NULL)+600);
+    or_state_mark_dirty(state, 0);
   }
 
   tor_snprintf(keydir,sizeof(keydir),"%s/keys/secret_onion_key.old",datadir);