summaryrefslogtreecommitdiff
path: root/ssl/quic
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2022-11-30 08:01:39 +0000
committerHugo Landau <hlandau@openssl.org>2023-01-13 13:20:20 +0000
commitd50e750e13f5a8f615da56ee73ddbd1a23007ebe (patch)
treef1937b5d79bff0bd3d1da74363a0434530bcc8f8 /ssl/quic
parent8a1a6d6d9e9a6bc091f0dc21503da214e2614209 (diff)
downloadopenssl-new-d50e750e13f5a8f615da56ee73ddbd1a23007ebe.tar.gz
QUIC: Style fixes
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
Diffstat (limited to 'ssl/quic')
-rw-r--r--ssl/quic/quic_impl.c1
-rw-r--r--ssl/quic/quic_reactor.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index 172edb473a..9dab1a9274 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -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,
diff --git a/ssl/quic/quic_reactor.c b/ssl/quic/quic_reactor.c
index ed5c7955db..47255f61ed 100644
--- a/ssl/quic/quic_reactor.c
+++ b/ssl/quic/quic_reactor.c
@@ -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);