mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
r19199@catbus: nickm | 2008-04-03 15:01:05 -0400
Fix bug 641 and 650, I think. svn:r14297
This commit is contained in:
parent
1ac11591d2
commit
68407e6a9c
@ -2772,7 +2772,7 @@ connection_ap_can_use_exit(edge_connection_t *conn, routerinfo_t *exit)
|
||||
if (conn->chosen_exit_name) {
|
||||
routerinfo_t *chosen_exit =
|
||||
router_get_by_nickname(conn->chosen_exit_name, 1);
|
||||
if (!chosen_exit || memcpy(chosen_exit->cache_info.identity_digest,
|
||||
if (!chosen_exit || memcmp(chosen_exit->cache_info.identity_digest,
|
||||
exit->cache_info.identity_digest, DIGEST_LEN)) {
|
||||
/* doesn't match */
|
||||
// log_debug(LD_APP,"Requested node '%s', considering node '%s'. No.",
|
||||
|
Loading…
Reference in New Issue
Block a user