From 6706a05b795135ea4035c36fb3c57ecff0f815fc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 2 Apr 2013 11:58:29 -0400 Subject: Remove the now-unused router_get_networkstatus_v3_hash --- src/or/routerparse.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/or/routerparse.c') 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 digest to the SHA-1 digest of the hash of the network-status - * string in s. 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 digest to the SHA-1 digest of the hash of the s_len-byte * extrainfo string at s. Return 0 on success, -1 on failure. */ int -- cgit v1.2.3-54-g00ecf