summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:55 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:12 +0100
commite8b9f63235e82403b7e144ff9a1a3985d44f1c4e (patch)
treef218c0f4dda80478456240ccedcdd48e10733aa6 /test
parent723cbe8a73fe3644bb4d8f20d475e57f44955b54 (diff)
downloadopenssl-new-e8b9f63235e82403b7e144ff9a1a3985d44f1c4e.tar.gz
QUIC QSM: Clean up SEND_STREAM/RECV_STREAM handling
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'test')
-rw-r--r--test/quic_txp_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/quic_txp_test.c b/test/quic_txp_test.c
index dca8c71398..1d71721a6c 100644
--- a/test/quic_txp_test.c
+++ b/test/quic_txp_test.c
@@ -1470,7 +1470,8 @@ static int run_script(const struct script_op *script)
op->arg0)))
goto err;
- if (!TEST_true(ossl_quic_stream_stop_sending(s, op->arg1)))
+ if (!TEST_true(ossl_quic_stream_map_stop_sending_recv_part(h.args.qsm,
+ s, op->arg1)))
goto err;
ossl_quic_stream_map_update_state(h.args.qsm, s);
@@ -1487,7 +1488,8 @@ static int run_script(const struct script_op *script)
op->arg0)))
goto err;
- if (!TEST_true(ossl_quic_stream_reset(s, op->arg1)))
+ if (!TEST_true(ossl_quic_stream_map_reset_stream_send_part(h.args.qsm,
+ s, op->arg1)))
goto err;
ossl_quic_stream_map_update_state(h.args.qsm, s);