aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-11-10 09:08:05 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-05 19:39:46 -0500
commit242ddc85c874cafdc3513725f9357028b72eb9f8 (patch)
treeebf67983a128acb237c84b63b3efccb33b999cf1 /src/test/test_hs.c
parent4633a93ca841c36e9c36ae31bc6745c47f85767e (diff)
downloadtor-242ddc85c874cafdc3513725f9357028b72eb9f8.tar.gz
tor-242ddc85c874cafdc3513725f9357028b72eb9f8.zip
control: Refactor HS_DESC events functions to not be v2 specific
This is a naming refactor mostly _except_ for a the events' function that take a rend_data_t which will require much more refactoring. No behavior change at this commit, cleanup and renaming stuff to not be only v2 specific. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs.c')
-rw-r--r--src/test/test_hs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index 7737499f50..7f9eab9119 100644
--- a/src/test/test_hs.c
+++ b/src/test/test_hs.c
@@ -258,7 +258,8 @@ test_hs_desc_event(void *arg)
sizeof(desc_id_base32));
/* test request event */
- control_event_hs_descriptor_requested(&rend_query.base_, HSDIR_EXIST_ID,
+ control_event_hs_descriptor_requested(rend_query.onion_address,
+ rend_query.auth_type, HSDIR_EXIST_ID,
STR_DESC_ID_BASE32);
expected_msg = "650 HS_DESC REQUESTED "STR_HS_ADDR" NO_AUTH "\
STR_HSDIR_EXIST_LONGNAME " " STR_DESC_ID_BASE32 "\r\n";