diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-03-01 16:52:40 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-05-01 11:03:54 +0100 |
commit | 90699176b07469e0b6b688ed88bc3f1deb5ccc26 (patch) | |
tree | 44087a2c077d8b1193686b2eb43847fc7460bb63 /test | |
parent | 91d39be797fb248edfe9da9678d05c937b1f88af (diff) |
QUIC CC: Major revisions to CC abstract interface
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20423)
Diffstat (limited to 'test')
-rw-r--r-- | test/quic_ackm_test.c | 2 | ||||
-rw-r--r-- | test/quic_fifd_test.c | 2 | ||||
-rw-r--r-- | test/quic_txp_test.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/quic_ackm_test.c b/test/quic_ackm_test.c index a743ecb5ee..b92e153d1a 100644 --- a/test/quic_ackm_test.c +++ b/test/quic_ackm_test.c @@ -98,7 +98,7 @@ static int helper_init(struct helper *h, size_t num_pkts) h->have_statm = 1; /* Initialise congestion controller. */ - h->ccdata = ossl_cc_dummy_method.new(NULL, NULL, NULL); + h->ccdata = ossl_cc_dummy_method.new(fake_now, NULL); if (!TEST_ptr(h->ccdata)) goto err; diff --git a/test/quic_fifd_test.c b/test/quic_fifd_test.c index c86ee83860..d3d13bf53f 100644 --- a/test/quic_fifd_test.c +++ b/test/quic_fifd_test.c @@ -318,7 +318,7 @@ static int test_fifd(int idx) cb_fail = 0; if (!TEST_true(ossl_statm_init(&info.statm)) - || !TEST_ptr(info.ccdata = ossl_cc_dummy_method.new(NULL, NULL, NULL)) + || !TEST_ptr(info.ccdata = ossl_cc_dummy_method.new(fake_now, NULL)) || !TEST_ptr(info.ackm = ossl_ackm_new(fake_now, NULL, &info.statm, &ossl_cc_dummy_method, diff --git a/test/quic_txp_test.c b/test/quic_txp_test.c index f06002f26a..265c23fabc 100644 --- a/test/quic_txp_test.c +++ b/test/quic_txp_test.c @@ -153,7 +153,7 @@ static int helper_init(struct helper *h) h->have_statm = 1; h->cc_method = &ossl_cc_dummy_method; - if (!TEST_ptr(h->cc_data = h->cc_method->new(NULL, NULL, NULL))) + if (!TEST_ptr(h->cc_data = h->cc_method->new(fake_now, NULL))) goto err; if (!TEST_ptr(h->args.ackm = ossl_ackm_new(fake_now, NULL, |