diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-11-09 11:27:13 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-12-21 09:11:59 +0100 |
commit | 632b0c7e8c9700b4f3fe49ccccda9caa1fbd390f (patch) | |
tree | 82c32e229af305523ae84d6d4cc5e5c65cc94dfd /test/quic_multistream_test.c | |
parent | QUIC PORT, CHANNEL: Move DEMUX and default packet handling out of CHANNEL (diff) | |
download | openssl-632b0c7e8c9700b4f3fe49ccccda9caa1fbd390f.tar.xz openssl-632b0c7e8c9700b4f3fe49ccccda9caa1fbd390f.zip |
QUIC PORT, CHANNEL: Move ticking code into QUIC_PORT
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22674)
Diffstat (limited to 'test/quic_multistream_test.c')
-rw-r--r-- | test/quic_multistream_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index d0560bb041..604c2f986b 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -14,6 +14,7 @@ #include "internal/quic_ssl.h" #include "internal/quic_error.h" #include "internal/quic_stream_map.h" +#include "internal/quic_port.h" #include "testutil.h" #include "helpers/quictestlib.h" #if defined(OPENSSL_THREADS) @@ -1594,7 +1595,7 @@ static int run_script_worker(struct helper *h, const struct script_op *script, QUIC_CHANNEL *ch = ossl_quic_conn_get_channel(h->c_conn); SSL_SHUTDOWN_EX_ARGS args = {0}; - ossl_quic_channel_set_inhibit_tick(ch, 0); + ossl_quic_port_set_inhibit_tick(ossl_quic_channel_get0_port(ch), 0); if (!TEST_ptr(c_tgt)) goto out; @@ -1918,7 +1919,8 @@ static int run_script_worker(struct helper *h, const struct script_op *script, { QUIC_CHANNEL *ch = ossl_quic_conn_get_channel(h->c_conn); - ossl_quic_channel_set_inhibit_tick(ch, op->arg1); + ossl_quic_port_set_inhibit_tick(ossl_quic_channel_get0_port(ch), + op->arg1); } break; |