updated build system
This commit is contained in:
parent
4976825bd6
commit
1cebaf83e1
@ -99,7 +99,7 @@ PenaltyExcessCharacter: 1000000
|
|||||||
PenaltyReturnTypeOnItsOwnLine: 60
|
PenaltyReturnTypeOnItsOwnLine: 60
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
ReflowComments: true
|
ReflowComments: true
|
||||||
SortIncludes: false
|
SortIncludes: true
|
||||||
SortUsingDeclarations: true
|
SortUsingDeclarations: true
|
||||||
SpaceAfterCStyleCast: false
|
SpaceAfterCStyleCast: false
|
||||||
SpaceAfterLogicalNot: false
|
SpaceAfterLogicalNot: false
|
||||||
|
@ -98,7 +98,7 @@ encrypt_data(const std::array<unsigned char,
|
|||||||
const std::uint32_t size = boost::endian::native_to_big(
|
const std::uint32_t size = boost::endian::native_to_big(
|
||||||
static_cast<std::uint32_t>(buffer_size + encryption_header_size));
|
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{};
|
unsigned long long mac_length{};
|
||||||
if (crypto_aead_xchacha20poly1305_ietf_encrypt_detached(
|
if (crypto_aead_xchacha20poly1305_ietf_encrypt_detached(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user