Add a DTLSv1_listen() test
authorMatt Caswell <matt@openssl.org>
Mon, 11 Apr 2022 13:37:16 +0000 (14:37 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 18 Aug 2022 15:38:12 +0000 (16:38 +0100)
commit26dad42e9ca609569073463165263173ab2a27ab
treedbf48577b723bc1fb36bd695661e32a3aae111d6
parente2d5742b1460c45bf39094ea08e4e85a8f507ea8
Add a DTLSv1_listen() test

Add a test to ensure that a connection started via DTLSv1_listen() can
be completed through to handshake success. Previous DTLSv1_listen()
testing only tested the function itself and did not confirm that a
connection can actually be achieved using it.

This is important to test some codepaths being affected by the record layer
refactor.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18132)
test/dtlstest.c
test/helpers/ssltestlib.c
test/helpers/ssltestlib.h
test/quicapitest.c
test/sslapitest.c