diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-21 12:19:18 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-05-01 12:03:54 +0200 |
commit | 66ec534861cc278bfb074a8fa3fa1fe3385723f8 (patch) | |
tree | f99014116805c59ffd2e40b40b800d8270f97a08 /ssl/quic/quic_channel.c | |
parent | QUIC CC: Use OSSL_PARAM (diff) | |
download | openssl-66ec534861cc278bfb074a8fa3fa1fe3385723f8.tar.xz openssl-66ec534861cc278bfb074a8fa3fa1fe3385723f8.zip |
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)
Diffstat (limited to '')
-rw-r--r-- | ssl/quic/quic_channel.c | 2 |
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, |