#
0c5dcecc |
| 02-Aug-2024 |
tb <tb@openbsd.org> |
Adjust tls regress for protocol parsing fixes
This mostly reverts what was done by beck in Tallinn and adjust tlstest to add new test cases and now failing connection tests.
|
#
853f473b |
| 16-Jul-2022 |
tb <tb@openbsd.org> |
Revert previous. The added includes were already there. Duh.
|
#
5143226f |
| 22-Jun-2022 |
tb <tb@openbsd.org> |
Explicitly include fcntl.h and unistd.h for pipe2
|
#
1591f3f7 |
| 04-Apr-2021 |
tb <tb@openbsd.org> |
Clean up client and server tls{,_config} contexts in tls_test().
Leaks reported by Ilya Shipitsin.
|
#
cfee7a70 |
| 04-Jul-2020 |
jsing <jsing@openbsd.org> |
Add a missing circular_init() call in the TLS ordering test.
This makes the regress work correctly again - this was previously masked by the fact that tls_close() (and hence SSL_shutdown()) was drai
Add a missing circular_init() call in the TLS ordering test.
This makes the regress work correctly again - this was previously masked by the fact that tls_close() (and hence SSL_shutdown()) was draining the circular buffer, whereas now we're leaving data behind from a previous test, resulting in the ordering test failing.
show more ...
|
#
dc41c420 |
| 13-May-2020 |
jsing <jsing@openbsd.org> |
Add TLS versioning tests.
This ensures that a TLSv1.0, TLSv1.1, TLSv1.2 or TLSv1.3 client can talk with an appropriately configured server and vice versa.
|
#
cbdc8659 |
| 19-Mar-2018 |
jsing <jsing@openbsd.org> |
Remove the now unnecessary tls_init() call.
|
#
fcb81bb6 |
| 07-May-2017 |
jsing <jsing@openbsd.org> |
Add a (currently failing) call to tls_handshake() on a client context that has not yet been connected. We expect this to fail, but it should fail gracefully.
|
#
ab928952 |
| 07-May-2017 |
jsing <jsing@openbsd.org> |
Also test calling tls_handshake() on a server connection context that has already completed a TLS handshake.
|
#
e289e929 |
| 07-May-2017 |
jsing <jsing@openbsd.org> |
Add a test that calls tls_handshake() on a connection that has already completed a TLS handshake. This should return a failure, but currently succeeds (hence the regress currently fails).
|
#
ef75dc35 |
| 07-May-2017 |
jsing <jsing@openbsd.org> |
An an initial sequencing/ordering test for libtls.
|
#
3695f442 |
| 06-May-2017 |
jsing <jsing@openbsd.org> |
Split TLS client/server handshake and close code into separate functions so that it can be reused.
|
#
5825962c |
| 06-May-2017 |
jsing <jsing@openbsd.org> |
Move TLS test code into a function that is called from main, making it easier for new tests to be added.
|
#
d7736651 |
| 06-May-2017 |
jsing <jsing@openbsd.org> |
Free tls_configs earlier now that we have refcounting.
|
#
d0118f46 |
| 17-Jan-2017 |
jsing <jsing@openbsd.org> |
Correctly tls_config_set_ca_file() return value (no effective change).
Spotted by inoguchi@
|
#
d7e18552 |
| 12-Jan-2017 |
jsing <jsing@openbsd.org> |
Add regress tests for libtls, which currently cover handshakes and closes using callbacks, file descriptors and sockets.
|