]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC: Update no-TPARAM test for correct error code
authorHugo Landau <hlandau@openssl.org>
Tue, 25 Jul 2023 10:32:24 +0000 (11:32 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 8 Aug 2023 13:33:42 +0000 (14:33 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21547)

test/quicfaultstest.c

index 68e5cad8a0acfb818e3bdbde1513b8c3c64e6220..76887527424f2b6158f3b013a717f3f566308735 100644 (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;