- 05 Sep, 2017 1 commit
-
-
Nick Mathewson authored
This commit does not change the implementation of any function: it only moves code and adds new includes as necessary. Part of #23149.
-
- 15 May, 2017 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 04 May, 2017 1 commit
-
-
Nick Mathewson authored
Also store it in the cached_dir_t.
-
- 01 May, 2017 1 commit
-
-
Nick Mathewson authored
We shouldn't call it lzma, because we are imposing a limit on the memory needed for decoding.
-
- 25 Apr, 2017 2 commits
-
-
Nick Mathewson authored
-
- 17 Apr, 2017 1 commit
-
-
Alexander Færøy authored
To allow us to use the API name `tor_compress` and `tor_uncompress` as the main entry-point for all compression/uncompression and not just gzip and zlib. See https://bugs.torproject.org/21663
-
- 28 Mar, 2017 1 commit
-
-
Nick Mathewson authored
The old implementation had duplicated code in a bunch of places, and it interspersed spool-management with resource management. The new implementation should make it easier to add new resource types and maintain the spooling code. Closing ticket 21651.
-
- 15 Mar, 2017 1 commit
-
-
Nick Mathewson authored
-
- 09 Nov, 2016 1 commit
-
-
rubiate authored
Closes ticket 20511.
-
- 04 Nov, 2016 1 commit
-
-
Signed-off-by:
David Goulet <dgoulet@torproject.org> Signed-off-by:
George Kadianakis <desnacked@riseup.net>
-
- 07 Sep, 2016 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 30 Jun, 2016 1 commit
-
-
Nick Mathewson authored
-
- 11 Jun, 2016 3 commits
-
-
Nick Mathewson authored
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests.
-
Nick Mathewson authored
This gives more accurate results under Clang, which can only help us detect more warnings in more places. Fixes bug 19216; bugfix on 0.2.0.1-alpha
-
Nick Mathewson authored
IMO it's fine for us to make exceptions to this rule in the unit tests, but not in the code at large.
-
- 30 May, 2016 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 27 May, 2016 1 commit
-
-
Roger Dingledine authored
Remove support for "GET /tor/bytes.txt" DirPort request, and "GETINFO dir-usage" controller request, which were only available via a compile-time option in Tor anyway. Feature was added in 0.2.2.1-alpha. Resolves ticket 19035.
-
- 11 May, 2016 1 commit
-
-
teor (Tim Wilson-Brown) authored
Improves the fix to #18963.
-
- 22 Mar, 2016 1 commit
-
-
Nick Mathewson authored
-
- 11 Mar, 2016 3 commits
-
-
Roger Dingledine authored
it used to be a tri-state, but now it's just a bi-state, so we can take out all the machinery like the enum.
-
Roger Dingledine authored
When we made HidServDirectoryV2 always 1, we removed the situation where a relay could choose not to be an HSDir. Now simplify the rest of the code to reflect this decision. (We have to remove two apparently unrelated free() calls in the unit tests, since they used to free stuff that we created as a side effect of calling router_get_my_routerinfo(), and now we no longer call that.)
-
Roger Dingledine authored
This simplifies relay behavior, because the relay offers the hsdir functionality independent of whether the directory authorities have decided this relay is suitable for clients to use yet. Implements ticket 18332.
-
- 27 Feb, 2016 1 commit
-
-
Nick Mathewson authored
-
- 22 Feb, 2016 1 commit
-
-
Nick Mathewson authored
-
- 10 Feb, 2016 1 commit
-
-
Nick Mathewson authored
They are no longer "all" digests, but only the "common" digests. Part of 17795. This is an automated patch I made with a couple of perl one-liners: perl -i -pe 's/crypto_digest_all/crypto_common_digests/g;' src/*/*.[ch] perl -i -pe 's/\bdigests_t\b/common_digests_t/g;' src/*/*.[ch]
-
- 14 Dec, 2015 1 commit
-
-
teor (Tim Wilson-Brown) authored
Update the code for IPv6 authorities and fallbacks for function argument changes. Update unit tests affected by the function argument changes in the patch. Add unit tests for authority and fallback: * adding via a function * line parsing * adding default authorities (Adding default fallbacks is unit tested in #15775.)
-
- 09 Dec, 2015 1 commit
-
-
The tests pass empty digest strings to the dir_server_new function which copies it into a directory server structure. The copy operation expects the digest strings to be DIGEST_LEN characters long. Because the length of the empty digest strings are lower than DIGEST_LEN, the copy operation reads outside the digest strings which leads to buffer over-reads. The issue is resolved by using character arrays with a size of DIGEST_LEN. Patch on 4ff08bb5.
-
- 21 Oct, 2015 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 02 Oct, 2015 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 15 Sep, 2015 1 commit
-
-
Reinaldo de Souza Jr authored
-