aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_cell.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-30 09:01:59 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-30 09:01:59 -0400
commit21babc8d3f138be94336cad40168390ed9509793 (patch)
tree447fa051ae5d999d54fad62d56b2d19fd7232b71 /src/test/test_hs_cell.c
parent7d66ec0feba7aa7cfbaeb8c3af2df35cdcd536f1 (diff)
parent4f854dbdc2f3ade1b6c0cb610907fe1ad085f9ca (diff)
downloadtor-21babc8d3f138be94336cad40168390ed9509793.tar.gz
tor-21babc8d3f138be94336cad40168390ed9509793.zip
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat (limited to 'src/test/test_hs_cell.c')
-rw-r--r--src/test/test_hs_cell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_cell.c b/src/test/test_hs_cell.c
index 5c5236b391..8e15184c2a 100644
--- a/src/test/test_hs_cell.c
+++ b/src/test/test_hs_cell.c
@@ -39,7 +39,7 @@ test_gen_establish_intro_cell(void *arg)
attempt to parse it. */
{
/* We only need the auth key pair here. */
- hs_service_intro_point_t *ip = service_intro_point_new(NULL, 0);
+ hs_service_intro_point_t *ip = service_intro_point_new(NULL, 0, 0);
/* Auth key pair is generated in the constructor so we are all set for
* using this IP object. */
ret = hs_cell_build_establish_intro(circ_nonce, ip, buf);
@@ -107,7 +107,7 @@ test_gen_establish_intro_cell_bad(void *arg)
ed25519_sign_prefixed() function and make it fail. */
cell = trn_cell_establish_intro_new();
tt_assert(cell);
- ip = service_intro_point_new(NULL, 0);
+ ip = service_intro_point_new(NULL, 0, 0);
cell_len = hs_cell_build_establish_intro(circ_nonce, ip, NULL);
service_intro_point_free(ip);
expect_log_msg_containing("Unable to make signature for "