From: Hugo Landau Date: Fri, 21 Apr 2023 10:19:18 +0000 (+0100) Subject: QUIC CHANNEL: Fix bug where time callback arg wasn't passed X-Git-Tag: openssl-3.2.0-alpha1~928 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ec534861cc278bfb074a8fa3fa1fe3385723f8;p=thirdparty%2Fopenssl.git 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) --- 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,