summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-11-30 06:27:59 +0000
committerNick Mathewson <nickm@torproject.org>2005-11-30 06:27:59 +0000
commit9cec3a13f510f09f328f824796676f24a99ccf35 (patch)
tree399bc151d8add56eefb4477e5cb384a848dda850 /src/or/router.c
parenta6eb8cd2a0a206c7cc975751044723e4bcc60b7b (diff)
downloadtor-9cec3a13f510f09f328f824796676f24a99ccf35.tar.gz
tor-9cec3a13f510f09f328f824796676f24a99ccf35.zip
remove some functions that are not used; #if0 out some files that are not likely to be used.
svn:r5471
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>.
*/