QUIC FIFD: 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)
This commit is contained in:
Hugo Landau 2024-01-29 12:34:54 +00:00
parent ba8b093be7
commit 484b8bd0f5
2 changed files with 7 additions and 0 deletions

View File

@ -78,6 +78,8 @@ void ossl_quic_fifd_cleanup(QUIC_FIFD *fifd); /* (no-op) */
int ossl_quic_fifd_pkt_commit(QUIC_FIFD *fifd, QUIC_TXPIM_PKT *pkt);
void ossl_quic_fifd_set_qlog(QUIC_FIFD *fifd, QLOG *qlog);
# endif
#endif

View File

@ -293,3 +293,8 @@ int ossl_quic_fifd_pkt_commit(QUIC_FIFD *fifd, QUIC_TXPIM_PKT *pkt)
/* Inform the ACKM. */
return ossl_ackm_on_tx_packet(fifd->ackm, &pkt->ackm_pkt);
}
void ossl_quic_fifd_set_qlog(QUIC_FIFD *fifd, QLOG *qlog)
{
fifd->qlog = qlog;
}