mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
QUIC TXP: Make TXP use time callback correctly
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21029)
This commit is contained in:
parent
e3e9794aa4
commit
b98c38d40a
@ -2197,7 +2197,7 @@ static int txp_generate_for_el_actual(OSSL_QUIC_TX_PACKETISER *txp,
|
||||
tpkt->ackm_pkt.is_ack_eliciting = have_ack_eliciting;
|
||||
tpkt->ackm_pkt.is_pto_probe = 0;
|
||||
tpkt->ackm_pkt.is_mtu_probe = 0;
|
||||
tpkt->ackm_pkt.time = ossl_time_now();
|
||||
tpkt->ackm_pkt.time = txp->args.now(txp->args.now_arg);
|
||||
|
||||
/* Packet Information for QTX */
|
||||
pkt.hdr = phdr;
|
||||
|
Loading…
Reference in New Issue
Block a user