aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_intropoint.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-05-22 11:43:55 -0400
committerDavid Goulet <dgoulet@torproject.org>2019-05-22 11:43:55 -0400
commit245dccb77d79dc432bb7aab21ce2c893da4b602a (patch)
tree5cfbd50a097ac52c82fe507082de1d885929bd5f /src/test/test_hs_intropoint.c
parente5deb2bbc73d8830ae6c479a4532e72112f5484a (diff)
parent56908c6f1c63d32bef7011c811976e24156f17d3 (diff)
downloadtor-245dccb77d79dc432bb7aab21ce2c893da4b602a.tar.gz
tor-245dccb77d79dc432bb7aab21ce2c893da4b602a.zip
Merge remote-tracking branch 'nickm/ticket30454_034_01_squashed' into ticket30454_035_01
Diffstat (limited to 'src/test/test_hs_intropoint.c')
-rw-r--r--src/test/test_hs_intropoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_intropoint.c b/src/test/test_hs_intropoint.c
index 660f21ffd8..558fc32c54 100644
--- a/src/test/test_hs_intropoint.c
+++ b/src/test/test_hs_intropoint.c
@@ -140,7 +140,7 @@ helper_create_introduce1_cell(void)
{
size_t auth_key_len = sizeof(auth_key_kp.pubkey);
trn_cell_introduce1_set_auth_key_type(cell,
- HS_INTRO_AUTH_KEY_TYPE_ED25519);
+ TRUNNEL_HS_INTRO_AUTH_KEY_TYPE_ED25519);
trn_cell_introduce1_set_auth_key_len(cell, auth_key_len);
trn_cell_introduce1_setlen_auth_key(cell, auth_key_len);
uint8_t *auth_key_ptr = trn_cell_introduce1_getarray_auth_key(cell);
@@ -751,7 +751,7 @@ test_introduce1_validation(void *arg)
ret = validate_introduce1_parsed_cell(cell);
tt_int_op(ret, OP_EQ, -1);
/* Reset is to correct value and make sure it's correct. */
- cell->auth_key_type = HS_INTRO_AUTH_KEY_TYPE_ED25519;
+ cell->auth_key_type = TRUNNEL_HS_INTRO_AUTH_KEY_TYPE_ED25519;
ret = validate_introduce1_parsed_cell(cell);
tt_int_op(ret, OP_EQ, 0);