Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-16 | Cover all our DH code, and/or mark it unreachable. | Nick Mathewson | |
2016-05-16 | At long last, unit tests for degenerate DH public keys. | Nick Mathewson | |
Apparently, we detect and reject them correctly. Aren't you glad? | |||
2016-05-16 | Slight improvements to DH coverage. | Nick Mathewson | |
2016-05-16 | Improve test coverage of our strongest-rng code. | Nick Mathewson | |
2016-05-16 | Test coverage on ed25519 load/store functions. | Nick Mathewson | |
2016-05-16 | Mark unreachable lines in crypto_curve25519.c | Nick Mathewson | |
Also, resolve a bug in test_ntor_cl.c | |||
2016-05-16 | HKDF-SHA256 test vectors from RFC5869 | Nick Mathewson | |
2016-05-03 | Ed25519 test vectors from draft-irtf-cfrg-eddsa-05 | Nick Mathewson | |
2016-05-03 | Add test vector for AES_CTR from NIST SP800-38a sec F.5 | Nick Mathewson | |
2016-05-03 | Add test vector for Curve25519 from RFC7748 | Nick Mathewson | |
2016-05-03 | tests for some of the simpler functions in crypto.c | Nick Mathewson | |
2016-05-03 | White-box tests for crypto_rand_*_range(), rand_hostname(). | Nick Mathewson | |
Coverage-driven; part of ticket 16794. | |||
2016-05-02 | test_bt.sh: Check stderr for backtrace as well as stdout. | Nick Mathewson | |
addresssanitizer likes to put backtraces on stderr. | |||
2016-04-25 | Remove redundant declarations of MIN | Nick Mathewson | |
Apparently somewhere along the line we decided that MIN might be missing. But we already defined it (if it was missing) in compat.h, which everybody includes. Closes ticket 18889. | |||
2016-04-19 | Merge branch 'handles_squashed' | Nick Mathewson | |
2016-04-19 | Basic 'handle' implementation and tests. | Nick Mathewson | |
This abstraction covers the case where one part of the program needs to refer to another object that is allowed to disappear. | |||
2016-04-13 | fix typos/etc before i go nuts on #18809 | Roger Dingledine | |
2016-04-12 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-04-07 | Turn TestingClientBootstrap* into non-testing options | David Goulet | |
This changes simply renames them by removing "Testing" in front of them and they do not require TestingTorNetwork to be enabled anymore. Fixes #18481 Signed-off-by: David Goulet <dgoulet@ev0ke.net> | |||
2016-04-07 | When we get a bad nickname, explain what a good one is. | Nick Mathewson | |
Closes #18300; patch from "icanhasaccount". | |||
2016-04-05 | Don't call the system toupper or tolower. | Nick Mathewson | |
Yes, we could cast to unsigned char first, but it's probably safest to just use our own (in test_util), or remove bad-idea features that we don't use (in readpassphrase.c). Fixes 18728. | |||
2016-03-28 | One more test that didnt pass on windows. See #18665. | Nick Mathewson | |
2016-03-26 | Whitespace fixes | Nick Mathewson | |
2016-03-25 | Disable failing broken time format case for windows. | Nick Mathewson | |
2016-03-24 | try to fix a test failure for sizeof(time_t)==4. | Nick Mathewson | |
2016-03-24 | Merge branch 'timegm_overflow_squashed' | Nick Mathewson | |
2016-03-24 | Add a missing UL on a long in a unit test | teor (Tim Wilson-Brown) | |
2016-03-24 | Add unit tests with dates from 2035 to 2039 | teor (Tim Wilson-Brown) | |
Platforms with 32-bit time_t sometimes give different results. They don't always indicate failure on overflow, #18480 should fix these. | |||
2016-03-22 | Try to fix an intermittent test failure on openbsd. | Nick Mathewson | |
2016-03-22 | Never use sprintf. tor_snprintf instead. Bug in tests, not in any released tor. | Nick Mathewson | |
2016-03-21 | Merge remote-tracking branch 'arma/ticket18332-try3' | Nick Mathewson | |
2016-03-21 | Merge branch 'bug18570_027' | Nick Mathewson | |
2016-03-21 | Add new channel/queue_incoming unit tests; modify channel unit tests for new ↵ | Andrea Shepard | |
clarified handling of alloc/free responsibility for queued incoming cells | |||
2016-03-21 | test_options.c: assert that TransProxyType is tested | Steven Chamberlain | |
If a new platform defines USE_TRANSPARENT, ensure that a test runs for its TransProxyType. | |||
2016-03-17 | test_options.c: NULL a pointer after free #18447 | Steven Chamberlain | |
tdata will be double-freed if none of linux, __FreeBSD__, DARWIN or __OpenBSD__ are defined. (For example, FreeBSD derivatives). | |||
2016-03-15 | Merge remote-tracking branch 'weasel/bug18458' | Nick Mathewson | |
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-03-11 | Merge remote-tracking branch 'public/bug18204_028' | Nick Mathewson | |
2016-03-11 | Add changes file for 18448; refactor | Nick Mathewson | |
(I've made it so FreeBSD || FreeBSD_kernel is enough to ensure that we think you might have ipfw, and so that the logic is all in one place.) | |||
2016-03-11 | enable and test transproxy on FreeBSD derivatives #18448 | Steven Chamberlain | |
The transproxy feature is only enabled when __FreeBSD__ is defined, and only regular FreeBSD does that. Change this to __FreeBSD_kernel__ which is defined on derivatives as well. This enables the relevant options/validate__transproxy test on FreeBSD derivatives. | |||
2016-03-11 | Do not link tests against both libor.a and libor-testing.a | Nick Mathewson | |
Also, put libor-testing.a at a better position in the list of libraries, to avoid linker errors. This is a fix, or part of a fix, for 18490. | |||
2016-03-01 | First RelaxDirModeCheck implementation | Peter Palfrader | |
2016-02-28 | Use the kdf_rfc5869() function instead of kdf(). | Alexander Færøy | |
This patch fixes an issue in "ntor_ref.py gen_kdf_vectors" where the script tries to call the undefined function kdf(). | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-24 | Fix a huge number of leaks in test_config.c | Nick Mathewson | |
I no longer see asan reporting memory leaks in the unit tests. | |||
2016-02-24 | Fix memory leaks in routerlist/pick_directory_server_impl test | Nick Mathewson | |
2016-02-24 | Fix a leak in test_have_enough_mem_for_dircache | Nick Mathewson | |
2016-02-24 | Remove the freelist from memarea.c | Nick Mathewson | |
This is in accordance with our usual policy against freelists, now that working allocators are everywhere. It should also make memarea.c's coverage higher. I also doubt that this code ever helped performance. |