[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13076: make new v3 authorities that aren't in the DirServers list b (tor/trunk/src/or)



Author: arma
Date: 2008-01-08 18:08:39 -0500 (Tue, 08 Jan 2008)
New Revision: 13076

Modified:
   tor/trunk/src/or/router.c
Log:
make new v3 authorities that aren't in the DirServers list believe
in themselves again. bug experienced by karsten.


Modified: tor/trunk/src/or/router.c
===================================================================
--- tor/trunk/src/or/router.c	2008-01-08 17:33:09 UTC (rev 13075)
+++ tor/trunk/src/or/router.c	2008-01-08 23:08:39 UTC (rev 13076)
@@ -557,7 +557,7 @@
           (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,