From 6306db65a1997b6f3679b4328f9b6aa77cfd5231 Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Sun, 16 Apr 2023 11:00:23 -0400 Subject: [PATCH] fix formatting --- node/AES_aesni.cpp | 6 +++--- node/Packet.cpp | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/node/AES_aesni.cpp b/node/AES_aesni.cpp index a185b1b36..37c499853 100644 --- a/node/AES_aesni.cpp +++ b/node/AES_aesni.cpp @@ -438,9 +438,9 @@ void AES::CTR::p_aesNICrypt(const uint8_t *in, uint8_t *out, unsigned int len) n #if !defined(ZT_AES_VAES512) && defined(ZT_AES_VAES256) if (Utils::CPUID.vaes && (len >= 256)) { - p_aesCtrInnerVAES256(len, _ctr[0], c1, in, out, k); - goto skip_conventional_aesni_64; - } + p_aesCtrInnerVAES256(len, _ctr[0], c1, in, out, k); + goto skip_conventional_aesni_64; + } #endif const uint8_t *const eof64 = in + (len & ~((unsigned int)63)); diff --git a/node/Packet.cpp b/node/Packet.cpp index d9378cc5e..e1345b317 100644 --- a/node/Packet.cpp +++ b/node/Packet.cpp @@ -543,7 +543,8 @@ FORCE_INLINE int LZ4_compress_generic( } else { refDelta = 0; lowLimit = (const BYTE*)source; - } } + } + } forwardH = LZ4_hashPosition(forwardIp, tableType); LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base); @@ -633,7 +634,8 @@ _next_match: } else { refDelta = 0; lowLimit = (const BYTE*)source; - } } + } + } LZ4_putPosition(ip, cctx->hashTable, tableType, base); if ( ((dictIssue==dictSmall) ? (match>=lowRefLimit) : 1) && (match+MAX_DISTANCE>=ip) @@ -823,7 +825,8 @@ FORCE_INLINE int LZ4_decompress_generic( } else { memcpy(op, lowPrefix, restSize); op += restSize; - } } + } + } continue; }