summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-04-02 11:58:29 -0400
committerNick Mathewson <nickm@torproject.org>2013-04-18 11:04:57 -0400
commit6706a05b795135ea4035c36fb3c57ecff0f815fc (patch)
tree5f5b54be84aa75396979c6196c639ab9b310aa67 /src/or/routerparse.c
parentc35ef8e6e92f1d3f4e96fc71c8db6a17b812053e (diff)
downloadtor-6706a05b795135ea4035c36fb3c57ecff0f815fc.tar.gz
tor-6706a05b795135ea4035c36fb3c57ecff0f815fc.zip
Remove the now-unused router_get_networkstatus_v3_hash
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 87dc608e57..dfbd2d54e6 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -662,18 +662,6 @@ router_get_networkstatus_v3_hashes(const char *s, digests_t *digests)
' ');
}
-/** Set <b>digest</b> to the SHA-1 digest of the hash of the network-status
- * string in <b>s</b>. Return 0 on success, -1 on failure. */
-int
-router_get_networkstatus_v3_hash(const char *s, char *digest,
- digest_algorithm_t alg)
-{
- return router_get_hash_impl(s, strlen(s), digest,
- "network-status-version",
- "\ndirectory-signature",
- ' ', alg);
-}
-
/** Set <b>digest</b> to the SHA-1 digest of the hash of the <b>s_len</b>-byte
* extrainfo string at <b>s</b>. Return 0 on success, -1 on failure. */
int