aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_cell.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-03 16:04:25 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commita561a10da726b426d326515ca7f75988b405bab7 (patch)
treed0b7089e76d3a2f8ed9db8d26ff025c53e88b4be /src/test/test_hs_cell.c
parent2c6f2e9be9db6d3889a0756be93d7203888eaa72 (diff)
downloadtor-a561a10da726b426d326515ca7f75988b405bab7.tar.gz
tor-a561a10da726b426d326515ca7f75988b405bab7.zip
Fix small easy bugs all around
- Fix log message format string. - Do extra circuit purpose check. - wipe memory in a clear function - Make sure we don't double add intro points in our list - Make sure we don't double close intro circuits. - s/tt_u64_op/tt_i64_op/
Diffstat (limited to 'src/test/test_hs_cell.c')
-rw-r--r--src/test/test_hs_cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_cell.c b/src/test/test_hs_cell.c
index 9c963bcb16..1686fccee7 100644
--- a/src/test/test_hs_cell.c
+++ b/src/test/test_hs_cell.c
@@ -106,7 +106,7 @@ test_gen_establish_intro_cell_bad(void *arg)
expect_log_msg_containing("Unable to make signature for "
"ESTABLISH_INTRO cell.");
teardown_capture_of_logs();
- tt_u64_op(cell_len, OP_EQ, -1);
+ tt_i64_op(cell_len, OP_EQ, -1);
done:
trn_cell_establish_intro_free(cell);