]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge branch 'maint-0.3.3'
authorNick Mathewson <nickm@torproject.org>
Tue, 22 May 2018 17:35:33 +0000 (13:35 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 May 2018 17:35:33 +0000 (13:35 -0400)
1  2 
src/rust/protover/ffi.rs
src/test/test_protover.c

Simple merge
index 1b0adb17571d568ac0757e67b2fba4aa1194a45b,0948cd56409f124371d2e90f30740f3c551f3c30..70b7c9a85fbf28623a29f7bb972aed325f49d5c0
@@@ -317,13 -317,15 +317,15 @@@ 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"
 -                               "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 -                               "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 -                               "aaaaaaaaaaaa=1-65536", &msg));
 +                 "DoSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 +                 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 +                 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
 +                 "aaaaaaaaaaaa=1-65536", &msg));
    tor_end_capture_bugs_();
+ #endif
  
   done:
    tor_end_capture_bugs_();