summaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-07 10:06:50 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-07 10:06:50 -0500
commitcb54cd6745eaf15716aa357fc253f43f26c051a6 (patch)
tree8637fbe20d722885eb295aee4f5f0ac86683854f /src/test/test.c
parent49dca8b1beae9c2dade2c3193fa7f77f5c15d869 (diff)
parent7984fc153112baa5c370215f2205025a7648d7b4 (diff)
downloadtor-cb54cd6745eaf15716aa357fc253f43f26c051a6.tar.gz
tor-cb54cd6745eaf15716aa357fc253f43f26c051a6.zip
Merge branch 'bug9286_v3_squashed'
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 513ec3c597..de6efaf873 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -696,12 +696,12 @@ test_rend_fns(void *arg)
smartlist_get(descs, 0))->desc_id, OP_EQ,
computed_desc_id, DIGEST_LEN);
tt_assert(rend_parse_v2_service_descriptor(&parsed, parsed_desc_id,
- &intro_points_encrypted,
- &intro_points_size,
- &encoded_size,
- &next_desc,
- ((rend_encoded_v2_service_descriptor_t *)
- smartlist_get(descs, 0))->desc_str) == 0);
+ &intro_points_encrypted,
+ &intro_points_size,
+ &encoded_size,
+ &next_desc,
+ ((rend_encoded_v2_service_descriptor_t *)
+ smartlist_get(descs, 0))->desc_str, 1) == 0);
tt_assert(parsed);
tt_mem_op(((rend_encoded_v2_service_descriptor_t *)
smartlist_get(descs, 0))->desc_id,OP_EQ, parsed_desc_id, DIGEST_LEN);