aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_link_handshake.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-03 08:55:54 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-03 08:55:54 -0400
commit32854aef28f5ff94fc60647c9881576141574aba (patch)
tree825a30def480a4cadf9e7e1aefb0275363b566cc /src/test/test_link_handshake.c
parentd9ca4e20bd51915317c7bda38ef56c67499f6f5e (diff)
downloadtor-32854aef28f5ff94fc60647c9881576141574aba.tar.gz
tor-32854aef28f5ff94fc60647c9881576141574aba.zip
whitespace fixes
Diffstat (limited to 'src/test/test_link_handshake.c')
-rw-r--r--src/test/test_link_handshake.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c
index bf5ff677c1..5273f3373f 100644
--- a/src/test/test_link_handshake.c
+++ b/src/test/test_link_handshake.c
@@ -872,7 +872,6 @@ CERTS_FAIL(server_wrong_labels_1,
REENCODE();
})
-
static void
test_link_handshake_send_authchallenge(void *arg)
{
@@ -1087,7 +1086,6 @@ AUTHCHALLENGE_FAIL(nonzero_circid,
require_failure_message = "It had a nonzero circuit ID";
d->cell->circ_id = 1337)
-
static int
mock_get_tlssecrets(tor_tls_t *tls, uint8_t *secrets_out)
{
@@ -1284,7 +1282,8 @@ test_link_handshake_auth_cell(void *arg)
uint8_t sig[128];
uint8_t digest[32];
tt_int_op(auth1_getlen_sig(auth1), >, 120);
- auth_pubkey = tor_tls_cert_get_key(d->c2->handshake_state->certs->auth_cert);
+ auth_pubkey = tor_tls_cert_get_key(
+ d->c2->handshake_state->certs->auth_cert);
int n = crypto_pk_public_checksig(
auth_pubkey,
(char*)sig, sizeof(sig), (char*)auth1_getarray_sig(auth1),