diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-23 11:30:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-16 13:28:29 -0400 |
commit | 991bec67ee41fd7f3c12e9194d96491b51bedd50 (patch) | |
tree | ca97cfe01e65293ee523bb7e8de3c007801ea9af /src/test/test_protover.c | |
parent | 035166e7bf30645f6da9d39374f5e9c9efe867f8 (diff) | |
download | tor-991bec67ee41fd7f3c12e9194d96491b51bedd50.tar.gz tor-991bec67ee41fd7f3c12e9194d96491b51bedd50.zip |
When Tor is compiled with NSS, don't claim support for LinkAuth=1
Closes ticket 27288
Diffstat (limited to 'src/test/test_protover.c')
-rw-r--r-- | src/test/test_protover.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c index 9a2b6f6be3..8da1e9d8a0 100644 --- a/src/test/test_protover.c +++ b/src/test/test_protover.c @@ -452,10 +452,12 @@ test_protover_supported_protocols(void *arg) } } +#ifdef HAVE_WORKING_TOR_TLS_GET_TLSSECRETS /* Legacy LinkAuth does not appear anywhere in the code. */ tt_assert(protocol_list_supports_protocol(supported_protocols, PRT_LINKAUTH, PROTOVER_LINKAUTH_V1)); +#endif /* Latest LinkAuth is not exposed in the headers. */ tt_assert(protocol_list_supports_protocol(supported_protocols, PRT_LINKAUTH, @@ -641,4 +643,3 @@ struct testcase_t protover_tests[] = { PV_TEST(vote_roundtrip, 0), END_OF_TESTCASES }; - |