aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-15 12:17:23 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-15 12:17:23 -0400
commit0cf327dc7874ae0a021054b78cbb7b24a11aa8fe (patch)
tree7c07a17e88ebb7b6d979540dc35c2ce9f4fd1bd1 /src/or/networkstatus.c
parente4d2177d31225f5884dd94038b457dfd9954b11b (diff)
parenta4e9d672924f027c3e66220a8f70427d42154fe2 (diff)
downloadtor-0cf327dc7874ae0a021054b78cbb7b24a11aa8fe.tar
tor-0cf327dc7874ae0a021054b78cbb7b24a11aa8fe.tar.gz
Merge remote-tracking branch 'public/unused_stuff' into maint-0.2.4
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index c63c76fcc..8846cd063 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1432,18 +1432,6 @@ consensus_is_waiting_for_certs(void)
? 1 : 0;
}
-/** Return the network status with a given identity digest. */
-networkstatus_v2_t *
-networkstatus_v2_get_by_digest(const char *digest)
-{
- SMARTLIST_FOREACH(networkstatus_v2_list, networkstatus_v2_t *, ns,
- {
- if (tor_memeq(ns->identity_digest, digest, DIGEST_LEN))
- return ns;
- });
- return NULL;
-}
-
/** Return the most recent consensus that we have downloaded, or NULL if we
* don't have one. */
networkstatus_t *