diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:55:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:55:54 -0400 |
commit | 32854aef28f5ff94fc60647c9881576141574aba (patch) | |
tree | 825a30def480a4cadf9e7e1aefb0275363b566cc /src/test | |
parent | d9ca4e20bd51915317c7bda38ef56c67499f6f5e (diff) | |
download | tor-32854aef28f5ff94fc60647c9881576141574aba.tar.gz tor-32854aef28f5ff94fc60647c9881576141574aba.zip |
whitespace fixes
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_link_handshake.c | 5 | ||||
-rw-r--r-- | src/test/test_routerkeys.c | 1 | ||||
-rw-r--r-- | src/test/testing_rsakeys.c | 1 |
3 files changed, 3 insertions, 4 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), diff --git a/src/test/test_routerkeys.c b/src/test/test_routerkeys.c index 56055a3b02..64692d28a0 100644 --- a/src/test/test_routerkeys.c +++ b/src/test/test_routerkeys.c @@ -614,7 +614,6 @@ test_routerkeys_cross_certify_tap(void *args) crypto_pk_free(onion_key); } - static void test_routerkeys_rsa_ed_crosscert(void *arg) { diff --git a/src/test/testing_rsakeys.c b/src/test/testing_rsakeys.c index 66684fc279..134770bb0d 100644 --- a/src/test/testing_rsakeys.c +++ b/src/test/testing_rsakeys.c @@ -543,3 +543,4 @@ init_pregenerated_keys(void) crypto_pk_generate_key_with_bits__get_cached); #endif } + |