diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2014-03-17 17:38:22 +0100 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2014-03-18 10:40:10 +0100 |
commit | 7450403410866bc3a70eaf16681a0719a251d043 (patch) | |
tree | c184a5ff4b58b8111c15514540b2e8818543516e /src/or/routerparse.c | |
parent | 102bb1c04f5cb4fb3eae7f41f80660e47c64ceb6 (diff) | |
download | tor-7450403410866bc3a70eaf16681a0719a251d043.tar.gz tor-7450403410866bc3a70eaf16681a0719a251d043.zip |
Take out remaining V1 directory code.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index ad3cf3b388..9e772ad21e 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -603,17 +603,6 @@ router_get_router_hash(const char *s, size_t s_len, char *digest) DIGEST_SHA1); } -/** Set <b>digest</b> to the SHA-1 digest of the hash of the running-routers - * string in <b>s</b>. Return 0 on success, -1 on failure. - */ -int -router_get_runningrouters_hash(const char *s, char *digest) -{ - return router_get_hash_impl(s, strlen(s), digest, - "network-status","\ndirectory-signature", '\n', - DIGEST_SHA1); -} - /** Set <b>digests</b> to all the digests of the consensus document in * <b>s</b> */ int |