diff options
author | Marco Abbadini <marco.abbadini1@gmail.com> | 2023-07-20 17:07:19 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-07-24 09:22:55 +1000 |
commit | 6cac1ce47128f5095b1f0b99f304589db034c305 (patch) | |
tree | a90efcb8369a09ea76e8b8d2e6ed4af6aba7bb40 /ssl/quic/quic_ackm.c | |
parent | 9c8d04dbec03172d6ffe4eaa38ea4b1ac2741f26 (diff) |
fix clang-6,7,8 strict build
CLA: trivial
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21501)
Diffstat (limited to 'ssl/quic/quic_ackm.c')
-rw-r--r-- | ssl/quic/quic_ackm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/quic_ackm.c b/ssl/quic/quic_ackm.c index 3e05b5f833..9e22bf2fc0 100644 --- a/ssl/quic/quic_ackm.c +++ b/ssl/quic/quic_ackm.c @@ -937,7 +937,7 @@ static void ackm_on_pkts_lost(OSSL_ACKM *ackm, int pkt_space, const OSSL_ACKM_TX_PKT *p, *pnext; OSSL_RTT_INFO rtt; QUIC_PN largest_pn_lost = 0; - OSSL_CC_LOSS_INFO loss_info = {0}; + OSSL_CC_LOSS_INFO loss_info = {{0}}; uint32_t flags = 0; for (p = lpkt; p != NULL; p = pnext) { @@ -984,7 +984,7 @@ static void ackm_on_pkts_acked(OSSL_ACKM *ackm, const OSSL_ACKM_TX_PKT *apkt) { const OSSL_ACKM_TX_PKT *anext; QUIC_PN last_pn_acked = 0; - OSSL_CC_ACK_INFO ainfo = {0}; + OSSL_CC_ACK_INFO ainfo = {{0}}; for (; apkt != NULL; apkt = anext) { if (apkt->is_inflight) { |