From 379ad6f6eb5393e74daba8ac71c252155c052a34 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Tue, 25 Jul 2017 12:17:20 +0300 Subject: prop224: Use the client-side circuitmap in hs_client.c Signed-off-by: David Goulet --- src/or/hs_client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/or/hs_client.c') 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; -- cgit v1.2.3-54-g00ecf