diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-15 15:33:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-15 15:33:34 -0500 |
commit | b3a69074933492080629d45b1c890606aa2bd08a (patch) | |
tree | 53f4929f0c1e19ed7ff9022ac194defe8ce78f25 /src/or/networkstatus.c | |
parent | 67749475f56532235602e0c8d1a9a59a68d816c3 (diff) | |
download | tor-b3a69074933492080629d45b1c890606aa2bd08a.tar.gz tor-b3a69074933492080629d45b1c890606aa2bd08a.zip |
Remove a bunch of functions that were never called.
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 6c9a6dd720..2b0242b569 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -522,16 +522,6 @@ networkstatus_check_consensus_signature(networkstatus_t *consensus, return -2; } -/** Helper: return a newly allocated string containing the name of the filename - * where we plan to cache the network status with the given identity digest. */ -char * -networkstatus_get_cache_filename(const char *identity_digest) -{ - char fp[HEX_DIGEST_LEN+1]; - base16_encode(fp, HEX_DIGEST_LEN+1, identity_digest, DIGEST_LEN); - return get_datadir_fname2("cached-status", fp); -} - /** How far in the future do we allow a network-status to get before removing * it? (seconds) */ #define NETWORKSTATUS_ALLOW_SKEW (24*60*60) |