Commit b6336538d2 for openssl.org
commit b6336538d21d47d17ab985210bae71232785f780
Author: Andrew Dinh <andrewd@openssl.org>
Date: Mon Aug 3 10:06:00 2026 +0700
Port script_48
Assisted-by: Claude:claude-sonnet-5
Reviewed-by: Saša NedvÄ›dický <sashan@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Merge-date: Wed Sep 2 06:32:33 2026
Merged-from: https://github.com/openssl/openssl/pull/32335
diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c
index ca76184ab7..c5e0075405 100644
--- a/test/quic_multistream_test.c
+++ b/test/quic_multistream_test.c
@@ -2679,20 +2679,7 @@ static const struct script_op script_47[] = {
/* 48. Fault injection - ACK - malformed subsequent range */
static const struct script_op script_48[] = {
- OP_S_SET_INJECT_PLAIN(script_46_inject_plain),
- OP_C_SET_ALPN("ossltest"),
- OP_C_CONNECT_WAIT(),
-
- OP_C_WRITE(DEFAULT, "apple", 5),
- OP_S_BIND_STREAM_ID(a, C_BIDI_ID(0)),
- OP_S_READ_EXPECT(a, "apple", 5),
-
- OP_SET_INJECT_WORD(3, 0),
-
- OP_S_WRITE(a, "Strawberry", 10),
-
- OP_C_EXPECT_CONN_CLOSE_INFO(OSSL_QUIC_ERR_FRAME_ENCODING_ERROR, 0, 0),
-
+ /* test moved to test/radix/quic_tests.c */
OP_END
};
diff --git a/test/radix/quic_tests.c b/test/radix/quic_tests.c
index bbd409c499..4a16eae36b 100644
--- a/test/radix/quic_tests.c
+++ b/test/radix/quic_tests.c
@@ -3043,8 +3043,22 @@ DEF_SCRIPT(script_47, "Fault injection - ACK - malformed subsequent range")
OP_EXPECT_CONN_CLOSE_INFO(C, OSSL_QUIC_ERR_FRAME_ENCODING_ERROR, 0, 0);
}
-DEF_SCRIPT(script_48, "place holder for multistrem script_48")
+DEF_SCRIPT(script_48, "Fault injection - ACK - malformed subsequent range")
{
+ OP_SIMPLE_PAIR_CONN();
+ OP_ACCEPT_CONN_WAIT(L, S, 0);
+
+ OP_SET_INJECT_PLAIN(S, inject_malformed_ack_plain);
+
+ OP_WRITE(C, "apple", 5);
+ OP_ACCEPT_STREAM_WAIT(S, Sa, 0);
+ OP_READ_EXPECT(Sa, "apple", 5);
+
+ OP_SET_INJECT_WORD(3, 0);
+
+ OP_WRITE(Sa, "Strawberry", 10);
+
+ OP_EXPECT_CONN_CLOSE_INFO(C, OSSL_QUIC_ERR_FRAME_ENCODING_ERROR, 0, 0);
}
DEF_SCRIPT(script_49, "place holder for multistrem script_49")