mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
but don't disable all the default v1 authorities quite yet
svn:r12778
This commit is contained in:
parent
3b2dd8d763
commit
40efd7d47b
@ -889,7 +889,7 @@ consider_adding_dir_authorities(or_options_t *options,
|
||||
{
|
||||
config_line_t *cl;
|
||||
int need_to_update =
|
||||
!smartlist_len(router_get_trusted_dir_servers()) ||
|
||||
!smartlist_len(router_get_trusted_dir_servers()) || !old_options ||
|
||||
!config_lines_eq(options->DirServers, old_options->DirServers) ||
|
||||
!config_lines_eq(options->AlternateBridgeAuthority,
|
||||
old_options->AlternateBridgeAuthority) ||
|
||||
@ -910,7 +910,7 @@ consider_adding_dir_authorities(or_options_t *options,
|
||||
if (!options->AlternateBridgeAuthority)
|
||||
type |= BRIDGE_AUTHORITY;
|
||||
if (!options->AlternateDirAuthority)
|
||||
type |= V2_AUTHORITY | V3_AUTHORITY;
|
||||
type |= V1_AUTHORITY | V2_AUTHORITY | V3_AUTHORITY;
|
||||
if (!options->AlternateHSAuthority)
|
||||
type |= HIDSERV_AUTHORITY;
|
||||
add_default_trusted_dir_authorities(type);
|
||||
|
Loading…
Reference in New Issue
Block a user