aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_channeltls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_channeltls.c')
-rw-r--r--src/test/test_channeltls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_channeltls.c b/src/test/test_channeltls.c
index 447c59847c..8b74a47a4f 100644
--- a/src/test/test_channeltls.c
+++ b/src/test/test_channeltls.c
@@ -274,7 +274,7 @@ tlschan_connection_or_connect_mock(const tor_addr_t *addr,
(void) ed_id; // XXXX Not yet used.
tt_assert(addr != NULL);
- tt_assert(port != 0);
+ tt_uint_op(port, OP_NE, 0);
tt_assert(digest != NULL);
tt_assert(tlschan != NULL);