Add regress test coverage for SSL_shutdown().
authorjsing <jsing@openbsd.org>
Fri, 19 Jan 2024 08:29:08 +0000 (08:29 +0000)
committerjsing <jsing@openbsd.org>
Fri, 19 Jan 2024 08:29:08 +0000 (08:29 +0000)
commitacc63c60305dbccc26c7542a107d4944f1e9c5f1
tree29cc933e6d3e0fb762f8ae320b5d757ef8875251
parent59674edd175d9348e5ca8aba35b8051c147c92f3
Add regress test coverage for SSL_shutdown().

This tests and codifies the behaviour of SSL_shutdown() with respect to
SSL_quiet_shutdown() and SSL_set_shutdown(). For now, only the legacy stack
(TLSv1.2) is tested, as there are currently some subtle differences with
the TLSv1.3 stack.
regress/lib/libssl/shutdown/Makefile [new file with mode: 0644]
regress/lib/libssl/shutdown/shutdowntest.c [new file with mode: 0644]