From 64d6b5fd12b26b06af8b821d05e65f377e9a34b0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 19 Jun 2026 10:04:48 +0200 Subject: fix a compiler warning --- aesxx/utils/encrypt_block.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'aesxx/utils/encrypt_block.cpp') diff --git a/aesxx/utils/encrypt_block.cpp b/aesxx/utils/encrypt_block.cpp index 6bde766..5c8698d 100644 --- a/aesxx/utils/encrypt_block.cpp +++ b/aesxx/utils/encrypt_block.cpp @@ -22,6 +22,7 @@ namespace { template void encrypt_with_mode(const Input& input, bool verbose = false) { typename aes::Types::Block iv; + aes::make_block(iv, 0, 0, 0, 0); if constexpr (aes::mode_requires_init_vector(mode)) { aes::from_string(iv, input.iv); -- cgit v1.3