diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 10:58:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:32:13 -0400 |
commit | 4fad456148738712e48582b22496e6baf0dfc1f8 (patch) | |
tree | d45921ddfad5d61485a7e3bc0bedb35376de108f /src/test/test_link_handshake.c | |
parent | 6696a5bbae4bd21f84a5b0730273fd847b8f0e45 (diff) | |
download | tor-4fad456148738712e48582b22496e6baf0dfc1f8.tar.gz tor-4fad456148738712e48582b22496e6baf0dfc1f8.zip |
test: Hide some test-declaration macro definitions to COCCI.
(These ones cause parsing failures.)
Diffstat (limited to 'src/test/test_link_handshake.c')
-rw-r--r-- | src/test/test_link_handshake.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c index 5e78e1ce4d..1371e1ef74 100644 --- a/src/test/test_link_handshake.c +++ b/src/test/test_link_handshake.c @@ -1492,6 +1492,7 @@ AUTHENTICATE_FAIL(missing_ed_auth, "authentication certificate"; }) +#ifndef COCCI #define TEST_RSA(name, flags) \ { #name , test_link_handshake_ ## name, (flags), \ &passthrough_setup, (void*)"RSA" } @@ -1527,6 +1528,7 @@ AUTHENTICATE_FAIL(missing_ed_auth, #define TEST_AUTHENTICATE_ED(name) \ { "authenticate/" #name "_ed25519" , test_link_handshake_auth_ ## name, \ TT_FORK, &setup_authenticate, (void*)3 } +#endif struct testcase_t link_handshake_tests[] = { TEST_RSA(certs_ok, TT_FORK), |