From fd0fcc89e98068643599fb79b299e62a9b07f924 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 21 Jul 2004 09:35:24 +0000 Subject: disallow picking unverified routers in circuits (for now) svn:r2082 --- src/or/routerlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/routerlist.c') diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 0139f3874f..95b0a033cd 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -186,7 +186,8 @@ void router_add_running_routers_to_smartlist(smartlist_t *sl) { for(i=0;irouters);i++) { router = smartlist_get(routerlist->routers, i); - if(router->is_running && + /* XXX008 for now, only choose verified routers */ + if(router->is_running && router->is_verified && (!clique_mode() || connection_get_by_identity_digest(router->identity_digest, CONN_TYPE_OR))) -- cgit v1.2.3-54-g00ecf