get rid of the special case for 'testing' circuits

svn:r5684
This commit is contained in:
Roger Dingledine 2005-12-31 06:37:34 +00:00
parent 5947388968
commit 1a11b97b15

View File

@ -1494,8 +1494,7 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
smartlist_t *excluded = smartlist_create();
or_options_t *options = get_options();
if (state && options->UseEntryNodes &&
purpose != CIRCUIT_PURPOSE_TESTING) {
if (state && options->UseEntryNodes) {
return choose_random_entry(state);
}