Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust tls regress for protocol parsing fixes | tb | 2024-08-02 | 1 | -7/+6 |
| | | | | | This mostly reverts what was done by beck in Tallinn and adjust tlstest to add new test cases and now failing connection tests. | ||||
* | Use the new certificates/chains in regress. | jsing | 2024-03-20 | 1 | -4/+4 |
| | | | | | | | | | | The new certificates are more representative of the real world. The old certificates use weak algorithms and expire in the very near future. Most of our regress has already been switched over, this changes the remainder. Thanks to Bernhard M. Wiedemann for reminding us of the upcoming expiry. ok tb@ | ||||
* | Revert previous. The added includes were already there. Duh. | tb | 2022-07-16 | 1 | -4/+1 |
| | |||||
* | Explicitly include fcntl.h and unistd.h for pipe2 | tb | 2022-06-22 | 1 | -1/+4 |
| | |||||
* | Clean up client and server tls{,_config} contexts in tls_test(). | tb | 2021-04-04 | 1 | -2/+11 |
| | | | | Leaks reported by Ilya Shipitsin. | ||||
* | Add a missing circular_init() call in the TLS ordering test. | jsing | 2020-07-04 | 1 | -1/+3 |
| | | | | | | | 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. | ||||
* | Add TLS versioning tests. | jsing | 2020-05-13 | 1 | -2/+96 |
| | | | | | This ensures that a TLSv1.0, TLSv1.1, TLSv1.2 or TLSv1.3 client can talk with an appropriately configured server and vice versa. | ||||
* | Remove the now unnecessary tls_init() call. | jsing | 2018-03-19 | 1 | -4/+1 |
| | |||||
* | Add a (currently failing) call to tls_handshake() on a client context that | jsing | 2017-05-07 | 1 | -1/+8 |
| | | | | | has not yet been connected. We expect this to fail, but it should fail gracefully. | ||||
* | Also test calling tls_handshake() on a server connection context that has | jsing | 2017-05-07 | 1 | -1/+7 |
| | | | | already completed a TLS handshake. | ||||
* | Add a test that calls tls_handshake() on a connection that has already | jsing | 2017-05-07 | 1 | -1/+7 |
| | | | | | completed a TLS handshake. This should return a failure, but currently succeeds (hence the regress currently fails). | ||||
* | An an initial sequencing/ordering test for libtls. | jsing | 2017-05-07 | 1 | -1/+61 |
| | |||||
* | Split TLS client/server handshake and close code into separate functions | jsing | 2017-05-06 | 1 | -4/+27 |
| | | | | so that it can be reused. | ||||
* | Move TLS test code into a function that is called from main, making it | jsing | 2017-05-06 | 2 | -17/+33 |
| | | | | easier for new tests to be added. | ||||
* | Free tls_configs earlier now that we have refcounting. | jsing | 2017-05-06 | 1 | -4/+4 |
| | |||||
* | Correctly tls_config_set_ca_file() return value (no effective change). | jsing | 2017-01-17 | 1 | -2/+2 |
| | | | | Spotted by inoguchi@ | ||||
* | Add regress tests for libtls, which currently cover handshakes and closes | jsing | 2017-01-12 | 2 | -0/+354 |
using callbacks, file descriptors and sockets. |