Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2018-10-14 | Fix various GCC LTO warnings in the unit tests. | Nick Mathewson | |
2018-09-05 | Try to fix new coverity warnings in unit tests. | Nick Mathewson | |
2018-09-04 | Debug one last reference-counting issue that only appeared on openssl master | Nick Mathewson | |
2018-09-04 | Use FREE_AND_NULL for impl types | Nick Mathewson | |
2018-09-04 | Port test_tortls_verify to not depend on openssl internals | Nick Mathewson | |
2018-09-04 | Add unit test for bridge-style TLS initialization. | Nick Mathewson | |
2018-09-04 | Test a few more tortls.c functions | Nick Mathewson | |
2018-09-04 | Initial NSS support for TLS. | Nick Mathewson | |
This is enough to get a chutney network to bootstrap, though a bunch of work remains. | |||
2018-08-21 | Extract internal-only parts of x509.h | Nick Mathewson | |
2018-08-21 | Split tls modules and their tests into openssl and generic. | Nick Mathewson | |
Also, add a stubbed-out nss version of the modules. The tests won't pass with NSS yet since the NSS modules don't do anything. This is a good patch to read with --color-moved. | |||
2018-08-21 | Extract tortls structures into a new header; clean up a little | Nick Mathewson | |
2018-08-21 | Split X509 code out of tortls.c | Nick Mathewson | |
2018-08-21 | The RSA_free in this test is no longer needed or wanted | Nick Mathewson | |
2018-08-21 | Rename openssl-bridging functions in crypto_rsa | Nick Mathewson | |
These functions exist only to expose RSA keys to other places in Tor that use OpenSSL; let's be specific about their purpose. | |||
2018-07-10 | Rename torlog.[ch] to log.[ch] | Nick Mathewson | |
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine. | |||
2018-07-05 | Fix every include path changed in the previous commit (automated) | Nick Mathewson | |
I am very glad to have written this script. | |||
2018-07-01 | Extract or_state_t to its own header. | Nick Mathewson | |
Fewer modules needed this than I had expected. | |||
2018-06-29 | Eliminate compat.h | Nick Mathewson | |
2018-06-22 | Automated fixup of include paths after torlog.h movement. | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-05-11 | testing: X509 certificate structure needs to be initialized | Marcin Cieślak | |
We alloc/free X.509 structures in three ways: 1) X509 structure allocated with X509_new() and X509_free() 2) Fake X509 structure allocated with fake_x509_malloc() and fake_x509_free() May contain valid pointers inside. 3) Empty X509 structure shell allocated with tor_malloc_zero() and freed with tor_free() | |||
2018-05-09 | Merge branch 'maint-0.3.3' | Nick Mathewson | |
2018-05-03 | Use OPENSSL_1_1_API in place of raw OPENSSL_VERSION_NUMBER checks | Nick Mathewson | |
This is needed for libressl-2.6.4 compatibility, which we broke when we merged a15b2c57e1f901c53 to fix bug 19981. Fixes bug 26005; bug not in any released Tor. | |||
2018-05-02 | Merge branch 'libressl_201805_029' into maint-0.3.3 | Nick Mathewson | |
2018-05-02 | LibreSSL compatibility fixes. | Nick Mathewson | |
LibreSSL, despite not having the OpenSSL 1.1 API, does define OPENSSL_VERSION in crypto.h. Additionally, it apparently annotates some functions as returning NULL, so that our unit tests need to be more careful about checking for NULL so they don't get compilation warnings. Closes ticket 26006. | |||
2018-04-18 | Make test_tortls.c build with openssl no_deprecated. | Nick Mathewson | |
Also for 19981. | |||
2017-09-15 | Replace accumulated C ;;s with ;s | Nick Mathewson | |
I don't know where these came from. | |||
2017-09-15 | Merge branch 'scan-build-032' | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-12 | Clear up dead-assignment warnings from scan-build | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_null.cocci | Nick Mathewson | |
2017-03-31 | Mark many private tortls.h APIs as openssl-only. | Nick Mathewson | |
This change lets us remove the openssl/ssl.h include from test_link_handshake.c. | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2017-02-01 | Merge branch 'maint-0.2.9' | Nick Mathewson | |
2017-02-01 | Support LibreSSL with opaque structures | rubiate | |
Determining if OpenSSL structures are opaque now uses an autoconf check instead of comparing the version number. Some definitions have been moved to their own check as assumptions which were true for OpenSSL with opaque structures did not hold for LibreSSL. Closes ticket 21359. | |||
2016-11-06 | Merge branch 'maint-0.2.9' | Nick Mathewson | |
2016-11-06 | In test_tortls_classify_client_ciphers(), s/ECDH/ECDHE/ | Nick Mathewson | |
(We weren't actually using these ciphers; we were just requing that ciphers of that name existed.) Patch from rubiate. Fixes 20460 | |||
2016-11-03 | Make the current time an argument to x509 cert-checking functions | Nick Mathewson | |
This makes the code a bit cleaner by having more of the functions be pure functions that don't depend on the current time. | |||
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. |