]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
get rid of the special case for 'testing' circuits
authorRoger Dingledine <arma@torproject.org>
Sat, 31 Dec 2005 06:37:34 +0000 (06:37 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 31 Dec 2005 06:37:34 +0000 (06:37 +0000)
svn:r5684

src/or/circuitbuild.c

index 10bd72c2403a8639f5012d102fbaf2aea0c7c978..32eb87892c7cc0a79b3c9cecfca35a8cbbbf751f 100644 (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);
   }