summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-21 11:19:18 +0100
committerMatt Caswell <matt@openssl.org>2023-05-01 11:03:54 +0100
commit66ec534861cc278bfb074a8fa3fa1fe3385723f8 (patch)
treef99014116805c59ffd2e40b40b800d8270f97a08
parent878df9be67df14c90ef584e5762a8c1f5c8f9749 (diff)
downloadopenssl-new-66ec534861cc278bfb074a8fa3fa1fe3385723f8.tar.gz
QUIC CHANNEL: Fix bug where time callback arg wasn't passed
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20423)
-rw-r--r--ssl/quic/quic_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c
index 95cf2b7d9a..bb693352e7 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,