From 66ec534861cc278bfb074a8fa3fa1fe3385723f8 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Fri, 21 Apr 2023 11:19:18 +0100 Subject: [PATCH] QUIC CHANNEL: Fix bug where time callback arg wasn't passed Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/20423) --- ssl/quic/quic_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 95cf2b7d9ae..bb693352e79 100644 --- a/ssl/quic/quic_channel.c +++ b/ssl/quic/quic_channel.c @@ -150,7 +150,7 @@ static int ch_init(QUIC_CHANNEL *ch) ch->have_statm = 1; ch->cc_method = &ossl_cc_newreno_method; - if ((ch->cc_data = ch->cc_method->new(get_time, NULL)) == NULL) + if ((ch->cc_data = ch->cc_method->new(get_time, ch)) == NULL) goto err; if ((ch->ackm = ossl_ackm_new(get_time, ch, &ch->statm, -- 2.47.2