QUIC: Update no-TPARAM test for correct error code

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21547)
This commit is contained in:
Hugo Landau 2023-07-25 11:32:24 +01:00 committed by Matt Caswell
parent 80bcc4f1ae
commit 457678d682

View File

@ -200,7 +200,8 @@ static int test_no_transport_params(void)
if (!TEST_false(qtest_create_quic_connection(qtserv, cssl)))
goto err;
if (!TEST_true(qtest_check_server_protocol_err(qtserv)))
if (!TEST_true(qtest_check_server_transport_err(qtserv,
QUIC_ERR_CRYPTO_MISSING_EXT)))
goto err;
testresult = 1;