diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-21 09:35:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-21 09:35:24 +0000 |
commit | fd0fcc89e98068643599fb79b299e62a9b07f924 (patch) | |
tree | 07bf4026cc777d6c282acd37cc0ee5e95cae9e41 /src/or/routerlist.c | |
parent | ecc900925606c5e7b5ad538d38a789f5d2add0d2 (diff) | |
download | tor-fd0fcc89e98068643599fb79b299e62a9b07f924.tar.gz tor-fd0fcc89e98068643599fb79b299e62a9b07f924.zip |
disallow picking unverified routers in circuits
(for now)
svn:r2082
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
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;i<smartlist_len(routerlist->routers);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))) |