diff options
author | Matt Caswell <matt@openssl.org> | 2023-03-13 17:58:19 +0000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-03-20 09:35:38 +1100 |
commit | c2212dc19eb280e22bda7d0538b23eef0be040e9 (patch) | |
tree | 4cdd719ed5c622b66e02d4554c08286e8e859a65 /ssl | |
parent | 4e15b44864df0d3c6306a9bf354fea92147834df (diff) |
Make sure the QRX and QTX are associated with a libctx
If a libctx has been associated with the channel, it must be passed down
to the QRX and QTX.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/quic/quic_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 7b79e9e500..984ee871b2 100644 --- a/ssl/quic/quic_channel.c +++ b/ssl/quic/quic_channel.c @@ -111,6 +111,7 @@ static int ch_init(QUIC_CHANNEL *ch) goto err; /* We plug in a network write BIO to the QTX later when we get one. */ + qtx_args.libctx = ch->libctx; qtx_args.mdpl = QUIC_MIN_INITIAL_DGRAM_LEN; ch->rx_max_udp_payload_size = qtx_args.mdpl; @@ -192,6 +193,7 @@ static int ch_init(QUIC_CHANNEL *ch) ch_default_packet_handler, ch); + qrx_args.libctx = ch->libctx; qrx_args.demux = ch->demux; qrx_args.short_conn_id_len = rx_short_cid_len; qrx_args.max_deferred = 32; |