From 58d88dfc7feed6e5683f3c57442f2697364a53ac Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 8 Jan 2008 23:08:39 +0000 Subject: make new v3 authorities that aren't in the DirServers list believe in themselves again. bug experienced by karsten. svn:r13076 --- src/or/router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/router.c b/src/or/router.c index de4e5daf23..5de54971b7 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -557,7 +557,7 @@ init_keys(void) (options->BridgeAuthoritativeDir ? BRIDGE_AUTHORITY : NO_AUTHORITY) | (options->HSAuthoritativeDir ? HIDSERV_AUTHORITY : NO_AUTHORITY)); - if (!router_digest_is_trusted_dir(digest)) { + if (!router_get_trusteddirserver_by_digest(digest)) { add_trusted_dir_server(options->Nickname, NULL, (uint16_t)options->DirPort, (uint16_t)options->ORPort, -- cgit v1.2.3-54-g00ecf