]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add test to confirm new token functionality
authorNeil Horman <nhorman@openssl.org>
Tue, 21 Jan 2025 16:48:51 +0000 (11:48 -0500)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:33 +0000 (11:27 -0500)
commitebc52f1f02e789a7f2d98b4627fc325f33a2ea03
treef0b83603c275458c89f04debc3eff3354e0ee8a4
parent29e861a5a6056aebe21af7d75d97caf2a8eff081
Add test to confirm new token functionality

Basically just create two clients and two servers, ensuring that both
clients use the same ctx (to share the token cache).

Connect the first client and server so that the cache gets populated
with a new token, tracing the ssl connection

Connect the second client and server, again tracing the connection with
the same bio

Then sift through the trace, looking for the new token frame in the
first connection, matching it with the token used in the second
connection.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26517)
test/quicapitest.c