diff options
author | David Goulet <dgoulet@torproject.org> | 2016-11-10 16:04:23 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-01-18 16:58:33 -0500 |
commit | e1497744c8887c883541d3cb6d3d63d9ab51f9ad (patch) | |
tree | 654c90735fe64e8e126c3949f4d612b0deee1e7d /src/test/test_hs_intropoint.c | |
parent | cacfd82c8dcc74ef8d96c0051649b5eae3e31d61 (diff) | |
download | tor-e1497744c8887c883541d3cb6d3d63d9ab51f9ad.tar.gz tor-e1497744c8887c883541d3cb6d3d63d9ab51f9ad.zip |
prop224: Add INTRODUCE1 cell relay support
Closes #20029
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_hs_intropoint.c b/src/test/test_hs_intropoint.c index 608988ba9a..7741cffa62 100644 --- a/src/test/test_hs_intropoint.c +++ b/src/test/test_hs_intropoint.c @@ -294,7 +294,8 @@ test_intro_point_registration(void *arg) the_hs_circuitmap = get_hs_circuitmap(); tt_assert(the_hs_circuitmap); tt_int_op(1, ==, HT_SIZE(the_hs_circuitmap)); - get_auth_key_from_establish_intro_cell(&auth_key, establish_intro_cell); + get_auth_key_from_cell(&auth_key, RELAY_COMMAND_ESTABLISH_INTRO, + establish_intro_cell); returned_intro_circ = hs_circuitmap_get_intro_circ_v3(&auth_key); tt_ptr_op(intro_circ, ==, returned_intro_circ); } |