mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
Merge remote-tracking branch 'origin/maint-0.2.3'
This commit is contained in:
commit
0b6fb5ebcd
4
changes/bug6377
Normal file
4
changes/bug6377
Normal file
@ -0,0 +1,4 @@
|
||||
o Testing:
|
||||
- Make it possible to set the TestingTorNetwork configuration
|
||||
option using AlternateDirAuthority and AlternateBridgeAuthority
|
||||
as an alternative to setting DirServer.
|
@ -4091,9 +4091,13 @@ options_validate(or_options_t *old_options, or_options_t *options,
|
||||
});
|
||||
}
|
||||
|
||||
if (options->TestingTorNetwork && !options->DirServers) {
|
||||
if (options->TestingTorNetwork &&
|
||||
!(options->DirServers ||
|
||||
(options->AlternateDirAuthority &&
|
||||
options->AlternateBridgeAuthority))) {
|
||||
REJECT("TestingTorNetwork may only be configured in combination with "
|
||||
"a non-default set of DirServers.");
|
||||
"a non-default set of DirServer or both of AlternateDirAuthority "
|
||||
"and AlternateBridgeAuthority configured.");
|
||||
}
|
||||
|
||||
if (options->AllowSingleHopExits && !options->DirServers) {
|
||||
|
Loading…
Reference in New Issue
Block a user