updated build system

This commit is contained in:
Scott E. Graves 2024-08-02 10:57:34 -05:00
parent 4976825bd6
commit 1cebaf83e1
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false

View File

@ -98,7 +98,7 @@ encrypt_data(const std::array<unsigned char,
const std::uint32_t size = boost::endian::native_to_big(
static_cast<std::uint32_t>(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(