aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2015-06-01 12:59:14 +0000
committerAndrea Shepard <andrea@torproject.org>2015-06-01 12:59:14 +0000
commit0e0b65db4f0f0c67bcbb3f51a9e6061bc4c96c5e (patch)
treec10b78ee986ba214d4fdc4061875919eaa33d4fc /src/test
parent90e07ab338cd59caeaeb31a3d207bb34d433b8ab (diff)
downloadtor-0e0b65db4f0f0c67bcbb3f51a9e6061bc4c96c5e.tar.gz
tor-0e0b65db4f0f0c67bcbb3f51a9e6061bc4c96c5e.zip
Appease make check-spaces
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_buffers.c1
-rw-r--r--src/test/test_hs.c5
-rw-r--r--src/test/test_link_handshake.c3
3 files changed, 4 insertions, 5 deletions
diff --git a/src/test/test_buffers.c b/src/test/test_buffers.c
index 22ee6aa8e3..e8fce12314 100644
--- a/src/test/test_buffers.c
+++ b/src/test/test_buffers.c
@@ -744,7 +744,6 @@ test_buffers_tls_read_mocked(void *arg)
next_reply_val[1] = 5000;
tt_int_op(6000, ==, read_to_buf_tls(NULL, 6000, buf));
-
done:
UNMOCK(tor_tls_read);
tor_free(mem);
diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index fc265bcabc..6d01798a63 100644
--- a/src/test/test_hs.c
+++ b/src/test/test_hs.c
@@ -210,8 +210,9 @@ test_hs_desc_event(void *arg)
/* test valid content. */
char *exp_msg;
- control_event_hs_descriptor_content(rend_query.onion_address, STR_HS_CONTENT_DESC_ID,
- HSDIR_EXIST_ID, hs_desc_content);
+ control_event_hs_descriptor_content(rend_query.onion_address,
+ STR_HS_CONTENT_DESC_ID, HSDIR_EXIST_ID,
+ hs_desc_content);
tor_asprintf(&exp_msg, "650+HS_DESC_CONTENT " STR_HS_ADDR " "\
STR_HS_CONTENT_DESC_ID " " STR_HSDIR_EXIST_LONGNAME\
"\r\n%s\r\n.\r\n650 OK\r\n", hs_desc_content);
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c
index b3b65319aa..0b3900e461 100644
--- a/src/test/test_link_handshake.c
+++ b/src/test/test_link_handshake.c
@@ -197,7 +197,6 @@ typedef struct certs_data_s {
crypto_pk_t *key1, *key2;
} certs_data_t;
-
static int
recv_certs_cleanup(const struct testcase_t *test, void *obj)
{
@@ -593,7 +592,6 @@ AUTHCHALLENGE_FAIL(truncated,
AUTHCHALLENGE_FAIL(nonzero_circid,
d->cell->circ_id = 1337)
-
static tor_x509_cert_t *mock_peer_cert = NULL;
static tor_x509_cert_t *
mock_get_peer_cert(tor_tls_t *tls)
@@ -914,3 +912,4 @@ struct testcase_t link_handshake_tests[] = {
END_OF_TESTCASES
};
+