Skip to content

Commit

Permalink
QUIC CHANNEL: Fix bug where time callback arg wasn't passed
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #20423)
  • Loading branch information
hlandau authored and mattcaswell committed May 1, 2023
1 parent 878df9b commit 66ec534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/quic/quic_channel.c
Expand Up @@ -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,
Expand Down

0 comments on commit 66ec534

Please sign in to comment.