Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-09 | Chop another ~93 RSA key generations out of the unit tests | Nick Mathewson | |
We have a mock for our RSA key generation function, so we now wire it to pk_generate(). This covers all the cases that were not using pk_generate() before -- all ~93 of them. | |||
2016-09-08 | Reinstate a couple of teardown_capture_of_logs that I missed | Nick Mathewson | |
Patch from rubiate. See #19999 | |||
2016-09-08 | Simplify log_test_helpers interface | Nick Mathewson | |
Previously, you needed to store the previous log severity in a local variable, and it wasn't clear if you were allowed to call these functions more than once. | |||
2016-09-08 | Resolve more BUG warnings in the unit tests | Nick Mathewson | |
2016-08-31 | Do not call tor_tls_server_info_callback(NULL) from tests. | Nick Mathewson | |
This isn't valid behavior, and it causes a crash when you run the unit tests at --debug. I've added an IF_BUG_ONCE() check for this case. | |||
2016-06-14 | whoops; blank line | Nick Mathewson | |
2016-06-14 | use new-form macros to disable -Wredundant-decls | Nick Mathewson | |
2016-06-14 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-06-14 | Bug 19406: Fix the unit tests to work with OpenSSL 1.1.x | Yawning Angel | |
Just as it says on the tin. Don't need to fully disable any tests and reduce coverage either. Yay me. | |||
2016-06-11 | Add -Wmissing-variable-declarations, with attendant fixes | Nick Mathewson | |
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. | |||
2016-06-11 | Add -Wfloat-conversion for GCC >= 4.9 | Nick Mathewson | |
This caught quite a few minor issues in our unit tests and elsewhere in our code. | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-23 | Merge branch 'bug17795' | Nick Mathewson | |
2016-02-10 | Rename crypto_digest_all, and digests_t. | Nick Mathewson | |
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] | |||
2016-02-06 | Fix spaces. | Nick Mathewson | |
2016-02-03 | Make tortls unit tests pass with LibreSSL. | Nick Mathewson | |
Part of the fix for 17921. | |||
2016-02-03 | Make Tor build happily with OpenSSL master and libressl. | Nick Mathewson | |
Also tested with 1.0.0t and 1.0.2f. Closes ticket 19784. Closes most of 17921. (Still need to make some tests pass.) | |||
2016-02-01 | Replace incorrect use of snprintf in unit tests with tor_snprintf | teor (Tim Wilson-Brown) | |
This avoids a potential out of bounds write. | |||
2016-02-01 | Make all unit tests independent of log message order and count | teor (Tim Wilson-Brown) | |
2015-12-18 | Fix a coverity NULL-pointer deref warning in the tortls tests. | Nick Mathewson | |
Also, make our cert validation code more NULL-resistant. This is CID 1327891. | |||
2015-12-18 | Looks like I added one X509_free too many :( | Nick Mathewson | |
2015-12-18 | Fix remaining memory leaks in unit tests. | Nick Mathewson | |
2015-12-15 | Fix some memory leaks in the unit tests | Nick Mathewson | |
2015-12-08 | Fix spaces. | Nick Mathewson | |
2015-11-26 | Fix test_tortls.c to no longer test failing crypto_rand. | Nick Mathewson | |
(crypto_rand is no longer allowed to fail.) Closes bug 17686; bug not in any released tor. (No backport, since the tortls tests aren't in 0.2.7) | |||
2015-11-13 | Merge remote-tracking branch 'public/ticket11150_client_only' | Nick Mathewson | |
2015-11-10 | Merge branch 'bug17549' | Nick Mathewson | |
2015-11-06 | Fix the tortls.c unit tests to pass with OpenSSL 1.1.0-dev. | Yawning Angel | |
The string description for the states got changed slightly. | |||
2015-11-06 | Fix compilation with OpenSSL 1.1.0 --enable-gcc-warnings is set. | Yawning Angel | |
2015-11-06 | "And now a better patch which builds the tests if LibreSSL is used." | Nick Mathewson | |
Works on the latest LibreSSL (in OpenBSD-current). (Patch from 'rubiate' on #17253. | |||
2015-10-24 | Avoid crashing due to double-freeing memory. | rl1987 | |
2015-10-21 | Fix various coverity-found issues | Nick Mathewson | |
2015-10-21 | Yet more memory leaks closed in test_tortls | Nick Mathewson | |
2015-10-21 | More memory leaks closed in test_tortls | Nick Mathewson | |
2015-10-21 | Fix another pile of test_tortls memory leaks | Nick Mathewson | |
2015-10-21 | More leaks to fix. | Nick Mathewson | |
2015-10-21 | resolve some leaks in test_tortls.c | Nick Mathewson | |
2015-10-07 | Remove the client-side code for the v1 and v2 tls handshakes. | Nick Mathewson | |
(This is safe since super-old Tor servers are no longer allowed on the network.) Closes the client-side part of 11150. | |||
2015-10-06 | Fix compilation with openssl 1.1 by forcibly disabling some tests | Nick Mathewson | |
Some of these tests can be ported to work with openssl 1.1, but probably some can't. | |||
2015-10-06 | Allow case-insensitive match in test_tortls_debug_state_callback | Nick Mathewson | |
2015-10-02 | Perhaps this is the permutation of headers that will please everything | Nick Mathewson | |
2015-10-02 | Try to fix mingw build. | Nick Mathewson | |
2015-10-02 | These logs seem openssl-version-dependent | Nick Mathewson | |
2015-10-02 | Avoid warnings in tortls.h includes | Nick Mathewson | |
2015-10-02 | Fix "make check-spaces" | Nick Mathewson | |
2015-10-02 | Make test_tortls compile without warnings | Nick Mathewson | |
2015-09-15 | Add tests for tortls.c | Ola Bini | |
2013-06-12 | Fix #9043 - simplyfy the code and use EVP_PKEY_cmp instead of pkey_eq / ↵ | Marek Majkowski | |
tor_tls_evp_pkey_eq | |||
2013-06-10 | Fix "make check-spaces" | Nick Mathewson | |
2013-06-10 | Bug #5170 - make pkey_eq testable, introduce test_tortls.c | Marek Majkowski | |