aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-15 08:14:32 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-15 08:14:32 +0000
commitc4ed331d8d6c115e238c282cf6204acf1e5b2583 (patch)
treecc986b1d14172fd3b394fa9e8cb54cf16aeca88e /src/or/router.c
parent0bc0688668586e15cfdfee8828893d041d5babb1 (diff)
downloadtor-c4ed331d8d6c115e238c282cf6204acf1e5b2583.tar
tor-c4ed331d8d6c115e238c282cf6204acf1e5b2583.tar.gz
oh, and catch the other instance we should fix
svn:r9122
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index f69196213..ffc7b38fa 100644
--- a/src/or/router.c
+++ b/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);