summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-01-08 23:08:39 +0000
committerRoger Dingledine <arma@torproject.org>2008-01-08 23:08:39 +0000
commit58d88dfc7feed6e5683f3c57442f2697364a53ac (patch)
treef583f8b2287b9ab7bda821db86ad210c1831e3be
parentc7d3c7acd23487b798bc61459185219182b49397 (diff)
downloadtor-58d88dfc7feed6e5683f3c57442f2697364a53ac.tar.gz
tor-58d88dfc7feed6e5683f3c57442f2697364a53ac.zip
make new v3 authorities that aren't in the DirServers list believe
in themselves again. bug experienced by karsten. svn:r13076
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
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,