updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@ -124,10 +124,10 @@ encrypt_data(const std::array<unsigned char,
|
||||
mac.data(), &mac_length, buffer, buffer_size,
|
||||
reinterpret_cast<const unsigned char *>(&size), sizeof(size), nullptr,
|
||||
iv.data(), key.data()) != 0) {
|
||||
throw repertory::utils::error::create_exception({
|
||||
function_name,
|
||||
"encryption failed",
|
||||
});
|
||||
throw repertory::utils::error::create_exception(function_name,
|
||||
{
|
||||
"encryption failed",
|
||||
});
|
||||
}
|
||||
|
||||
std::memcpy(res.data(), iv.data(), iv.size());
|
||||
|
Reference in New Issue
Block a user