summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-15 07:58:31 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-15 07:58:31 +0000
commit0bc0688668586e15cfdfee8828893d041d5babb1 (patch)
tree6638ec0645b498afdde592b0dfc82b69e1ed0d0a /src
parent38bd6837dba242bc7e86f033a206cd5082930934 (diff)
downloadtor-0bc0688668586e15cfdfee8828893d041d5babb1.tar.gz
tor-0bc0688668586e15cfdfee8828893d041d5babb1.zip
if we rotate our onion key, publish a new descriptor, and
die soon after, we want to stick with that onion key when we restart. svn:r9121
Diffstat (limited to 'src')
-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 eeb00fc1a9..f691962133 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -154,7 +154,7 @@ rotate_onion_key(void)
state->LastRotatedOnionKey = onionkey_set_at = now;
tor_mutex_release(key_lock);
mark_my_descriptor_dirty();
- or_state_mark_dirty(state, now+600);
+ or_state_mark_dirty(state, 0);
return;
error:
log_warn(LD_GENERAL, "Couldn't rotate onion key.");