From 1cebaf83e1b8f2f58f91f54dd2698ed387c98bc7 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 2 Aug 2024 10:57:34 -0500 Subject: [PATCH] updated build system --- .clang-format | 2 +- support/3rd_party/include/utils/encryption.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 4b12e191..1fb97fcf 100644 --- a/.clang-format +++ b/.clang-format @@ -99,7 +99,7 @@ PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Right ReflowComments: true -SortIncludes: false +SortIncludes: true SortUsingDeclarations: true SpaceAfterCStyleCast: false SpaceAfterLogicalNot: false diff --git a/support/3rd_party/include/utils/encryption.hpp b/support/3rd_party/include/utils/encryption.hpp index 91650ca9..fc182d57 100644 --- a/support/3rd_party/include/utils/encryption.hpp +++ b/support/3rd_party/include/utils/encryption.hpp @@ -98,7 +98,7 @@ encrypt_data(const std::array(buffer_size + encryption_header_size)); - res.resize(buffer_size + header_size); + res.resize(buffer_size + encryption_header_size); unsigned long long mac_length{}; if (crypto_aead_xchacha20poly1305_ietf_encrypt_detached(