mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
make new v3 authorities that aren't in the DirServers list believe
in themselves again. bug experienced by karsten. svn:r13076
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user