summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-10-04 22:23:31 +0000
committerNick Mathewson <nickm@torproject.org>2005-10-04 22:23:31 +0000
commit61ea5168859785207062ca22be403bbac32f49e3 (patch)
tree166d3b8fc6374a5d7c8bb2b5de2d4376dd1d51cc /src/or/rendclient.c
parent2d203fdcf319b45477bdcad7e3476ac3c45ee7e0 (diff)
downloadtor-61ea5168859785207062ca22be403bbac32f49e3.tar.gz
tor-61ea5168859785207062ca22be403bbac32f49e3.zip
Check for named servers when looking them up by nickname;
warn when we'recalling a non-named server by its nickname; don't warn twice about the same name. Fix a bug in routers_update_status_from_networkstatus that made nearly all clients never update routerinfo_t.is_named. Try to list MyFamily elements by key, not by nickname. Only warn about names that we generated ourself, or got from the local user. On TLS handshake, only check the other router's nickname against its expected nickname if is_named is set. svn:r5185
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 8b191b4187..b4e8f171af 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -467,7 +467,7 @@ rend_client_get_random_intro(const char *query)
} else {
/* add the intro point nicknames */
char *choice = entry->parsed->intro_points[i];
- routerinfo_t *router = router_get_by_nickname(choice);
+ routerinfo_t *router = router_get_by_nickname(choice, 0);
if (!router) {
log_fn(LOG_INFO, "Unknown router with nickname '%s'; trying another.",choice);
tor_free(choice);