diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-01-26 13:30:38 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-01-30 09:44:59 +0100 |
commit | 2477e99f1055194902dc4864124316ea57ac3efa (patch) | |
tree | 529419a7af83aa1a402c6c437ef408aa42f60d64 /ssl | |
parent | fee8f48e35f7009065227ae76c50672632ea5c40 (diff) | |
download | openssl-new-2477e99f1055194902dc4864124316ea57ac3efa.tar.gz |
QUIC Probes Support: Minor tweaks
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19925)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/quic/quic_ackm.c | 2 | ||||
-rw-r--r-- | ssl/quic/quic_txp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ssl/quic/quic_ackm.c b/ssl/quic/quic_ackm.c index 7e692a27ee..6061fb29f5 100644 --- a/ssl/quic/quic_ackm.c +++ b/ssl/quic/quic_ackm.c @@ -1316,7 +1316,7 @@ OSSL_TIME ossl_ackm_get_loss_detection_deadline(OSSL_ACKM *ackm) return ackm->loss_detection_deadline; } -OSSL_ACKM_PROBE_INFO *ossl_ackm_get_probe_request(OSSL_ACKM *ackm) +OSSL_ACKM_PROBE_INFO *ossl_ackm_get0_probe_request(OSSL_ACKM *ackm) { return &ackm->pending_probe; } diff --git a/ssl/quic/quic_txp.c b/ssl/quic/quic_txp.c index 5be9c2b7f8..0f3383875c 100644 --- a/ssl/quic/quic_txp.c +++ b/ssl/quic/quic_txp.c @@ -766,7 +766,7 @@ static int txp_el_pending(OSSL_QUIC_TX_PACKETISER *txp, uint32_t enc_level, /* Do we need to send a PTO probe? */ if (a.allow_force_ack_eliciting) { OSSL_ACKM_PROBE_INFO *probe_info - = ossl_ackm_get_probe_request(txp->args.ackm); + = ossl_ackm_get0_probe_request(txp->args.ackm); if ((enc_level == QUIC_ENC_LEVEL_INITIAL && probe_info->anti_deadlock_initial > 0) @@ -1823,7 +1823,7 @@ static int txp_generate_for_el_actual(OSSL_QUIC_TX_PACKETISER *txp, OSSL_QTX_PKT pkt; QUIC_STREAM *tmp_head = NULL, *stream; OSSL_ACKM_PROBE_INFO *probe_info - = ossl_ackm_get_probe_request(txp->args.ackm); + = ossl_ackm_get0_probe_request(txp->args.ackm); if (!txp_get_archetype_data(enc_level, archetype, &a)) goto fatal_err; |