aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_extorport.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-12 13:42:01 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-12 13:42:01 -0500
commit4ac5175109b14f8fafca3374ab5ca63968ab2cca (patch)
tree2d5b009f443942de02807a43d796ae2a4351488a /src/test/test_extorport.c
parenta3dafd3f58bb3122b9de919e931c02b5e12373b2 (diff)
downloadtor-4ac5175109b14f8fafca3374ab5ca63968ab2cca.tar.gz
tor-4ac5175109b14f8fafca3374ab5ca63968ab2cca.zip
Fix wide lines (from 13172)
Diffstat (limited to 'src/test/test_extorport.c')
-rw-r--r--src/test/test_extorport.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/test_extorport.c b/src/test/test_extorport.c
index c9d8527ea2..d99961dd4a 100644
--- a/src/test/test_extorport.c
+++ b/src/test/test_extorport.c
@@ -24,7 +24,8 @@ test_ext_or_id_map(void *arg)
(void)arg;
/* pre-initialization */
- tt_ptr_op(NULL, OP_EQ, connection_or_get_by_ext_or_id("xxxxxxxxxxxxxxxxxxxx"));
+ tt_ptr_op(NULL, OP_EQ,
+ connection_or_get_by_ext_or_id("xxxxxxxxxxxxxxxxxxxx"));
c1 = or_connection_new(CONN_TYPE_EXT_OR, AF_INET);
c2 = or_connection_new(CONN_TYPE_EXT_OR, AF_INET);
@@ -36,7 +37,8 @@ test_ext_or_id_map(void *arg)
tt_ptr_op(c1, OP_EQ, connection_or_get_by_ext_or_id(c1->ext_or_conn_id));
tt_ptr_op(c2, OP_EQ, connection_or_get_by_ext_or_id(c2->ext_or_conn_id));
- tt_ptr_op(NULL, OP_EQ, connection_or_get_by_ext_or_id("xxxxxxxxxxxxxxxxxxxx"));
+ tt_ptr_op(NULL, OP_EQ,
+ connection_or_get_by_ext_or_id("xxxxxxxxxxxxxxxxxxxx"));
idp = tor_memdup(c2->ext_or_conn_id, EXT_OR_CONN_ID_LEN);
@@ -423,7 +425,8 @@ do_ext_or_handshake(or_connection_t *conn)
MOCK(crypto_rand, crypto_rand_return_tse_str);
tt_int_op(0, OP_EQ, connection_ext_or_process_inbuf(conn));
UNMOCK(crypto_rand);
- tt_int_op(TO_CONN(conn)->state, OP_EQ, EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_HASH);
+ tt_int_op(TO_CONN(conn)->state, OP_EQ,
+ EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_HASH);
CONTAINS("\xec\x80\xed\x6e\x54\x6d\x3b\x36\xfd\xfc\x22\xfe\x13\x15\x41\x6b"
"\x02\x9f\x1a\xde\x76\x10\xd9\x10\x87\x8b\x62\xee\xb7\x40\x38\x21"
"te road There is always another ", 64);