mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
get rid of the special case for 'testing' circuits
svn:r5684
This commit is contained in:
parent
5947388968
commit
1a11b97b15
@ -1494,8 +1494,7 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
|
|||||||
smartlist_t *excluded = smartlist_create();
|
smartlist_t *excluded = smartlist_create();
|
||||||
or_options_t *options = get_options();
|
or_options_t *options = get_options();
|
||||||
|
|
||||||
if (state && options->UseEntryNodes &&
|
if (state && options->UseEntryNodes) {
|
||||||
purpose != CIRCUIT_PURPOSE_TESTING) {
|
|
||||||
return choose_random_entry(state);
|
return choose_random_entry(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user