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_crypto_slow.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_crypto_slow.c')
-rw-r--r-- | src/test/test_crypto_slow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_crypto_slow.c b/src/test/test_crypto_slow.c index 3b20dfa587..4f0cfbc641 100644 --- a/src/test/test_crypto_slow.c +++ b/src/test/test_crypto_slow.c @@ -584,6 +584,7 @@ test_crypto_ed25519_fuzz_donna(void *arg) ; } +#ifndef COCCI #define CRYPTO_LEGACY(name) \ { #name, test_crypto_ ## name , 0, NULL, NULL } @@ -594,6 +595,7 @@ test_crypto_ed25519_fuzz_donna(void *arg) #define ED25519_TEST(name, fl) \ ED25519_TEST_ONE(name, (fl), "donna"), \ ED25519_TEST_ONE(name, (fl), "ref10") +#endif struct testcase_t slow_crypto_tests[] = { CRYPTO_LEGACY(s2k_rfc2440), |