summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/router.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/router.c b/src/or/router.c
index f83bcdda34..8297f36495 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -75,11 +75,6 @@ void rotate_onion_key(void)
*/
lastonionkey = onionkey;
set_onion_key(prkey);
- if (router_rebuild_descriptor() <0) {
- goto error;
- }
- router_upload_dir_desc_to_dirservers();
- /* Mark all CPU workers to close. */
return;
error:
log_fn(LOG_WARN, "Couldn't rotate onion key.");