diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-17 06:27:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-17 06:27:32 +0000 |
commit | ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6 (patch) | |
tree | 26f82c4502527df17a58b2faeda78827cba0a549 /src/or/rendservice.c | |
parent | 590cd621f86ba5d454ed35ff411fab4ab48a6c61 (diff) | |
download | tor-ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6.tar.gz tor-ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6.zip |
use unverified routers in the desired positions
svn:r2249
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index bb8b22d917..617e185390 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -9,6 +9,8 @@ #include "or.h" +extern or_options_t options; /* command-line and config-file options */ + static circuit_t *find_intro_circuit(routerinfo_t *router, const char *pk_digest); /** Represents the mapping from a virtual port of a rendezvous service to @@ -821,8 +823,8 @@ void rend_services_introduce(void) { /* The directory is now here. Pick three ORs as intro points. */ for (j=prev_intro_nodes; j < NUM_INTRO_POINTS; ++j) { router = router_choose_random_node(service->intro_prefer_nodes, - service->intro_exclude_nodes, - exclude_routers, 1, 0, 0); + service->intro_exclude_nodes, exclude_routers, 1, 0, + options._AllowUnverified & ALLOW_UNVERIFIED_INTRODUCTION, 0); if (!router) { log_fn(LOG_WARN, "Could only establish %d introduction points for %s", smartlist_len(service->intro_nodes), service->service_id); |