diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-15 07:04:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-15 07:04:37 +0000 |
commit | 38bd6837dba242bc7e86f033a206cd5082930934 (patch) | |
tree | 7c71d9efc16aabd0364661e7c4f5dda4a22fa3d7 /src/or/config.c | |
parent | 2ae9615a0bcf512933927345d6365790026b60aa (diff) | |
download | tor-38bd6837dba242bc7e86f033a206cd5082930934.tar.gz tor-38bd6837dba242bc7e86f033a206cd5082930934.zip |
r11588@Kushana: nickm | 2006-12-15 02:04:32 -0500
Add a LastRotatedOnionKey variable to the state file, so we can rotate onion keys a week after they change even if we never stay up for a whole week at a time. Should fix bug 368.
svn:r9120
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 5ab68a1d5d..b39e187dc9 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -283,6 +283,7 @@ static config_var_t _state_vars[] = { VAR("TorVersion", STRING, TorVersion, NULL), + VAR("LastRotatedOnionKey", ISOTIME, LastRotatedOnionKey, NULL), VAR("LastWritten", ISOTIME, LastWritten, NULL), { NULL, CONFIG_TYPE_OBSOLETE, 0, NULL } |