summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-29 12:36:11 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:50:29 +0000
commit572c449a10697d8424a6117df807700a688d753d (patch)
treed7b963e358338f0caf41c0b0968199281ae82536 /ssl
parent4a3a9257db012adbfbc7b854f18dc00fad23c6c4 (diff)
QUIC TXP: Allow QLOG instance to be changed after instantiation
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_txp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/quic/quic_txp.c b/ssl/quic/quic_txp.c
index c23ec34668..9ed1858e0f 100644
--- a/ssl/quic/quic_txp.c
+++ b/ssl/quic/quic_txp.c
@@ -626,6 +626,12 @@ void ossl_quic_tx_packetiser_set_ack_tx_cb(OSSL_QUIC_TX_PACKETISER *txp,
txp->ack_tx_cb_arg = cb_arg;
}
+void ossl_quic_tx_packetiser_set_qlog(OSSL_QUIC_TX_PACKETISER *txp,
+ QLOG *qlog)
+{
+ ossl_quic_fifd_set_qlog(&txp->fifd, qlog);
+}
+
int ossl_quic_tx_packetiser_discard_enc_level(OSSL_QUIC_TX_PACKETISER *txp,
uint32_t enc_level)
{