]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC: Style fixes
authorHugo Landau <hlandau@openssl.org>
Wed, 30 Nov 2022 08:01:39 +0000 (08:01 +0000)
committerHugo Landau <hlandau@openssl.org>
Fri, 13 Jan 2023 13:20:20 +0000 (13:20 +0000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)

ssl/quic/quic_impl.c
ssl/quic/quic_reactor.c

index 172edb473a6a8824beeaa45597098a1d055b6559..9dab1a92748dc736bad56e3c34d2ee5e8cff66a3 100644 (file)
@@ -1023,6 +1023,7 @@ static int quic_read_actual(QUIC_CONNECTION *qc,
              * the peer).
              */
             OSSL_RTT_INFO rtt_info;
+
             ossl_statm_get_rtt_info(ossl_quic_channel_get_statm(qc->ch), &rtt_info);
 
             if (!ossl_quic_rxfc_on_retire(&qc->stream0->rxfc, *bytes_read,
index ed5c7955dbec52016cb82f6fc0daf02a5af203fb..47255f61edb06ae57b3bdb1cd19da5f09cce3a4e 100644 (file)
@@ -131,14 +131,14 @@ static int poll_two_fds(int rfd, int rfd_want_read,
     struct timeval tv, *ptv;
     int maxfd, pres;
 
-#ifndef OSSL_SYS_WINDOWS
+# ifndef OSSL_SYS_WINDOWS
     /*
      * On Windows there is no relevant limit to the magnitude of a fd value (see
      * above). On *NIX the fd_set uses a bitmap and we must check the limit.
      */
     if (rfd >= FD_SETSIZE || wfd >= FD_SETSIZE)
         return 0;
-#endif
+# endif
 
     FD_ZERO(&rfd_set);
     FD_ZERO(&wfd_set);