diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-27 03:53:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-27 03:53:40 +0000 |
commit | 4d127acb532c548f92b3bd8acab654b711e71f77 (patch) | |
tree | 287ff4b48c49cc96ffcda826f9960e1a4b8e94ba /src/or/router.c | |
parent | 230fbd95c065518705fff7628ff8689b4710e6d4 (diff) | |
download | tor-4d127acb532c548f92b3bd8acab654b711e71f77.tar.gz tor-4d127acb532c548f92b3bd8acab654b711e71f77.zip |
r11958@catbus: nickm | 2007-02-26 22:28:03 -0500
Add a missing set to onion_key_set_at to avoid premature rotates.
svn:r9662
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 0c0f4c986d..881fc9301e 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -291,7 +291,7 @@ init_keys(void) * or it's a holdover from 0.1.2.4-alpha-dev or earlier. In either case, * 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); + state->LastRotatedOnionKey = onionkey_set_at = time(NULL); or_state_mark_dirty(state, options->AvoidDiskWrites ? time(NULL)+3600 : 0); } |