diff options
author | David Goulet <dgoulet@torproject.org> | 2017-02-21 14:20:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:33 -0400 |
commit | d765cf30b51dfcd58756b6b3d24a14ac2c47f3e8 (patch) | |
tree | 91abef47c708dd4d30b50f5a8e31bf50389dedd2 /src/test/test_hs_intropoint.c | |
parent | 6a21ac7f9809963287dd678c9f2c494b3f9ebba3 (diff) | |
download | tor-d765cf30b51dfcd58756b6b3d24a14ac2c47f3e8.tar.gz tor-d765cf30b51dfcd58756b6b3d24a14ac2c47f3e8.zip |
prop224: Circuit has opened and ESTABLISH_INTRO cell
Add the entry point from the circuit subsystem of "circuit has opened" which
is for all type of hidden service circuits. For the introduction point, this
commit actually adds the support for handling those circuits when opened and
sending ESTABLISH_INTRO on a circuit.
Rendevzou point circuit aren't supported yet at this commit.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_intropoint.c')
-rw-r--r-- | src/test/test_hs_intropoint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_hs_intropoint.c b/src/test/test_hs_intropoint.c index c6197875b5..076d125ffc 100644 --- a/src/test/test_hs_intropoint.c +++ b/src/test/test_hs_intropoint.c @@ -488,10 +488,10 @@ helper_establish_intro_v2(or_circuit_t *intro_circ) key1 = pk_generate(0); /* Use old circuit_key_material why not */ - cell_len = encode_establish_intro_cell_legacy((char*)cell_body, - sizeof(cell_body), - key1, - (char *) circuit_key_material); + cell_len = rend_service_encode_establish_intro_cell( + (char*)cell_body, + sizeof(cell_body), key1, + (char *) circuit_key_material); tt_int_op(cell_len, >, 0); /* Receive legacy establish_intro */ |