aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/aes128ecb_decrypt_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils/aes128ecb_decrypt_file.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/aes128ecb_decrypt_file.cpp b/utils/aes128ecb_decrypt_file.cpp
index ab55304..9b8b15c 100644
--- a/utils/aes128ecb_decrypt_file.cpp
+++ b/utils/aes128ecb_decrypt_file.cpp
@@ -89,6 +89,11 @@ int main(int argc, char** argv)
dest_ofs.open(dest_path, std::ofstream::binary);
dest_ofs.write(dest_buf.data(), dest_size);
}
+ catch (const aesni::Error& e)
+ {
+ std::cerr << e;
+ return 1;
+ }
catch (const std::exception& e)
{
std::cerr << e.what() << "\n";