From e8b9f63235e82403b7e144ff9a1a3985d44f1c4e Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Tue, 18 Apr 2023 19:30:55 +0100 Subject: QUIC QSM: Clean up SEND_STREAM/RECV_STREAM handling Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20765) --- test/quic_txp_test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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); -- cgit v1.2.1