]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update ssl/quic/quic_ackm.c
authorSashan <anedvedicky@gmail.com>
Mon, 21 Jul 2025 06:43:49 +0000 (08:43 +0200)
committerNeil Horman <nhorman@openssl.org>
Sun, 27 Jul 2025 09:01:36 +0000 (05:01 -0400)
Co-authored-by: Andrew Dinh <andrewd@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28023)

(cherry picked from commit 4a3c954a0cdb9fa1f511ce43bb4833303a6067e2)

ssl/quic/quic_ackm.c

index a16875ed599b977a20e8eed915b336a3b89b07bf..c377f72490d10ec95d7ef0ea5a2f1a80f900f692 100644 (file)
@@ -888,7 +888,7 @@ static OSSL_TIME ackm_get_pto_time_and_space(OSSL_ACKM *ackm, int *space)
          * Only re-arm timer if stack has sent at least one ACK eliciting frame.
          * If stack has sent no ACK eliciting at given encryption level then
          * particular timer is zero and we must not attempt to set it. Timer time
-         * runs since epoch (Jan 1 1970 and we must not set timer to past.
+         * runs since epoch (Jan 1 1970) and we must not set timer to past.
          */
         if (!ossl_time_is_zero(ackm->time_of_last_ack_eliciting_pkt[i])) {
            t = ossl_time_add(ackm->time_of_last_ack_eliciting_pkt[i], duration);