diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-05-22 13:35:20 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-05-22 13:35:20 -0400 |
commit | a5d4ce2b393955f60962d3db8744a846506c3e7b (patch) | |
tree | fa1b4af7d4be4a160c63337fdc41ee3b23c59f6e /src/test | |
parent | 6e8e005b531c9061866bb4f601e4b97814834687 (diff) | |
download | tor-a5d4ce2b393955f60962d3db8744a846506c3e7b.tar.gz tor-a5d4ce2b393955f60962d3db8744a846506c3e7b.zip |
Make the TROVE-2018-005 fix work with rust.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_protover.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_protover.c b/src/test/test_protover.c index a7d4667dfc..0948cd5640 100644 --- a/src/test/test_protover.c +++ b/src/test/test_protover.c @@ -317,6 +317,7 @@ test_protover_all_supported(void *arg) tor_end_capture_bugs_(); /* Protocol name too long */ +#ifndef HAVE_RUST // XXXXXX ????? tor_capture_bugs_(1); tt_assert(protover_all_supported( "DoSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" @@ -324,6 +325,7 @@ test_protover_all_supported(void *arg) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaaaaaaaaa=1-65536", &msg)); tor_end_capture_bugs_(); +#endif done: tor_end_capture_bugs_(); |