Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-11 | simplify rend_cache_store_status_t back to a boolean | Roger Dingledine | |
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. | |||
2016-03-11 | rip out hid_serv_acting_as_directory() | Roger Dingledine | |
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.) | |||
2016-03-11 | rip out hid_serv_responsible_for_desc_id() | Roger Dingledine | |
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. | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-05 | Fix the --disable-asserts-in-tests configure option | Sebastian Hahn | |
2015-12-09 | Remove unnecessary casting | cypherpunks | |
2015-12-09 | Fix buffer over-reads in the rendcache tests | cypherpunks | |
The hidden service descriptor cache (rendcache) tests use digest maps which expect keys to have a length of DIGEST_LEN. Because the tests use key strings with a length lower than DIGEST_LEN, the internal copy operation reads outside the key strings which leads to buffer over-reads. The issue is resolved by using character arrays with a size of DIGEST_LEN. Patch on ade5005853c17b3ae5923c194680442e0f86db4d. | |||
2015-12-01 | Avoid relying on malloc internals in test_rend_cache_purge. | teor (Tim Wilson-Brown) | |
Closes ticket 17724. Bug fix on ade5005853c1 and 5e9f2384cf0f, not in any released version of Tor. Patch by "teor". | |||
2015-10-21 | Fix various coverity-found issues | Nick Mathewson | |
2015-10-21 | Fix all leaks (and an introduced failure) in the rendcache tests | Nick Mathewson | |
2015-10-21 | Yet more memory leaks in the rendcache tests | Nick Mathewson | |
2015-10-21 | More leaks here | Nick Mathewson | |
2015-10-21 | Fix a bunch more memory leaks in the tests. | Nick Mathewson | |
2015-10-21 | Fix a number of unit-test memory leaks, found by valgrind. | Nick Mathewson | |
2015-10-07 | Fix some 64bit issues | Nick Mathewson | |
2015-10-07 | Fix 32-bit case of rend_cache/entry_allocation | Nick Mathewson | |
2015-10-07 | Fix implicit overflow in rendcache tests | Nick Mathewson | |
2015-10-06 | Merge remote-tracking branch 'twstrike/rendcache_tests' | Nick Mathewson | |
Conflicts: src/test/include.am src/test/rend_test_helpers.c src/test/rend_test_helpers.h | |||
2015-10-05 | Fix spaces and other smaller issues | Ola Bini | |
2015-09-15 | Add tests for the rend cache | Ola Bini | |