diff options
Diffstat (limited to 'utils/aes128ecb_encrypt_file.cpp')
-rw-r--r-- | utils/aes128ecb_encrypt_file.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/aes128ecb_encrypt_file.cpp b/utils/aes128ecb_encrypt_file.cpp index d197ec6..a43c4d9 100644 --- a/utils/aes128ecb_encrypt_file.cpp +++ b/utils/aes128ecb_encrypt_file.cpp @@ -88,6 +88,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"; |