summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 0fcf13737c..7298c872db 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -53,16 +53,6 @@ get_onion_key(void)
return onionkey;
}
-/** Return the onion key that was current before the most recent onion
- * key rotation. If no rotation has been performed since this process
- * started, return NULL.
- */
-crypto_pk_env_t *
-get_previous_onion_key(void)
-{
- return lastonionkey;
-}
-
/** Store a copy of the current onion key into *<b>key</b>, and a copy
* of the most recent onion key into *<b>last</b>.
*/