[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r9122: oh, and catch the other instance we should fix (tor/trunk/src/or)



Author: arma
Date: 2006-12-15 03:14:32 -0500 (Fri, 15 Dec 2006)
New Revision: 9122

Modified:
   tor/trunk/src/or/router.c
Log:
oh, and catch the other instance we should fix


Modified: tor/trunk/src/or/router.c
===================================================================
--- tor/trunk/src/or/router.c	2006-12-15 07:58:31 UTC (rev 9121)
+++ tor/trunk/src/or/router.c	2006-12-15 08:14:32 UTC (rev 9122)
@@ -306,7 +306,7 @@
      * 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);