summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-25 19:04:11 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-25 19:04:11 +0000
commit0fca143ea1699ffa68fab34ba329c7b2db2c7bca (patch)
treeaedce9da44314415baf347313cb8026625285b68 /src/or/router.c
parentcb3897e5abf2e93b240f5bee2baf32ada9eaa652 (diff)
downloadtor-0fca143ea1699ffa68fab34ba329c7b2db2c7bca.tar.gz
tor-0fca143ea1699ffa68fab34ba329c7b2db2c7bca.zip
Remove onion_pkey from connection, since onion keys can change more often than connections. Also add more log messages
svn:r1693
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 8297f36495..98ef38dfc5 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -73,6 +73,7 @@ void rotate_onion_key(void)
crypto_free_pk_env(lastonionkey);
/* XXXX WINDOWS on windows, we need to protect this next bit with a lock.
*/
+ log_fn(LOG_INFO, "Rotating onion key");
lastonionkey = onionkey;
set_onion_key(prkey);
return;