Преглед изворни кода

make new v3 authorities that aren't in the DirServers list believe
in themselves again. bug experienced by karsten.


svn:r13076

Roger Dingledine пре 18 година
родитељ
комит
58d88dfc7f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/or/router.c

+ 1 - 1
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,