- Jun 24, 2018
-
-
Nick Mathewson authored
Fixes bug 26480; bug appeared when we re-enabled the geoip tests on windows. Bug originally introduced by our fix to 25787; bug not in any released Tor.
-
- Jun 21, 2018
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
When I wrote the first one of these, it needed the path of the geoip file. But that doesn't translate well in at least two cases: - Mingw, where the compile-time path is /c/foo/bar and the run-time path is c:\foo\bar. - Various CI weirdnesses, where we cross-compile a test binary, then copy it into limbo and expect it to work. Together, these problems precluded these tests running on windows. So, instead let's just generate some minimal files ourselves, and test against them. Fixes bug 25787
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jun 20, 2018
-
-
Roger Dingledine authored
Fix a memory leak where directory authorities would leak a chunk of memory for every router descriptor every time they considered voting. This bug was taking down directory authorities in the live network due to out-of-memory issues. Fixes bug 26435; bugfix on 0.3.3.6.
-
Nick Mathewson authored
-
Nick Mathewson authored
Hello71 spotted this first.
-
Nick Mathewson authored
-
Nick Mathewson authored
This appears to be an internal rust thing: I don't know why it's leaking. We should investigate further.
-
Nick Mathewson authored
-
Nick Mathewson authored
These appear to work for me.
-
Nick Mathewson authored
-
Nick Mathewson authored
If you're owning a C pointer, you need to implement Drop.
-
Nick Mathewson authored
These all need C linking to work, and so far, rustdoc does not seem to respect cargo setting about build scripts or RUSTOPTIONS.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
We'd like to feature gate code that calls C from Rust, as a workaround to several linker issues when running `cargo test` (#25386), and we can't feature gate anything out of test code if `cargo test` is called with `--all-features`. * FIXES #26400: https://bugs.torproject.org/26400
-
Taylor Yu authored
Multiple issues are preventing Travis CI from passing with Rust right now.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
We currently only do the check when we are about to use the HSDir indices.
-
-
It was synonymous with the builtin "test" feature. * FIXES #26399: https://bugs.torproject.org/26399
-
Nick Mathewson authored
-
-
-
-
Just check that smartlist length is zero instead
-
Nick Mathewson authored
-
- Jun 19, 2018
-
-
Alexander Hansen Færøy authored
This patch fixes linking errors when compiling Tor with the dirauth module disabled. See: https://bugs.torproject.org/26418
-
Taylor Yu authored
The doctests for src/rust/crypto don't compile for multiple reasons, including some missing exports and incorrect identifier paths. Fixes bug 26415; bugfix on 0.3.4.1-alpha.
-
Nick Mathewson authored
We need this trick because some of our Rust tests depend on our C code, which in turn depend on other native libraries, which thereby pulls a whole mess of our build system into "cargo test". To solve this, we add a build script (build.rs) to set most of the options that we want based on the contents of config.rust. Some options can't be set, and need to go to the linker directly: we use a linker replacement (link_rust.sh) for these. Both config.rust and link_rust.sh are generated by autoconf for us. This patch on its own should enough to make the crypto test build, but not necessarily enough to make it pass.
-
- Jun 18, 2018
-
-
Nick Mathewson authored
This was already added to LIBTOR_A_SOURCES; it doesn't need to get added again. Fixes bug 26402. Bugfix on 0.3.4.1-alpha.
-
Nick Mathewson authored
This reverts commit 70d91bd0.
-