From 572c449a10697d8424a6117df807700a688d753d Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 29 Jan 2024 12:36:11 +0000 Subject: QUIC TXP: Allow QLOG instance to be changed after instantiation Reviewed-by: Matt Caswell Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/22037) --- ssl/quic/quic_txp.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ssl/quic/quic_txp.c') 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) { -- cgit v1.2.3