diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-07-25 12:17:20 +0300 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | 379ad6f6eb5393e74daba8ac71c252155c052a34 (patch) | |
tree | bc5e1a5d8ba7d16f618e783cc907082d58a17cbb /src/or/hs_client.c | |
parent | 3152c583af052571cbcd058bb1569f2ad821ec42 (diff) | |
download | tor-379ad6f6eb5393e74daba8ac71c252155c052a34.tar.gz tor-379ad6f6eb5393e74daba8ac71c252155c052a34.zip |
prop224: Use the client-side circuitmap in hs_client.c
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.c')
-rw-r--r-- | src/or/hs_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/hs_client.c b/src/or/hs_client.c index 337c7477d3..5629550765 100644 --- a/src/or/hs_client.c +++ b/src/or/hs_client.c @@ -503,9 +503,9 @@ handle_introduce_ack_success(origin_circuit_t *intro_circ) log_info(LD_REND, "Received INTRODUCE_ACK ack! Informing rendezvous"); - /* Get the rendezvous circuit matching this intro point circuit. - * XXX Replace this by our hs circuitmap to support client? */ - rend_circ = circuit_get_ready_rend_by_hs_ident(intro_circ->hs_ident); + /* Get the rendezvous circuit for this rendezvous cookie. */ + uint8_t *rendezvous_cookie = intro_circ->hs_ident->rendezvous_cookie; + rend_circ = hs_circuitmap_get_rend_circ_client_side(rendezvous_cookie); if (rend_circ == NULL) { log_warn(LD_REND, "Can't find any rendezvous circuit. Stopping"); goto end; |