aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes192ctr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/aes192ctr.cpp')
-rw-r--r--examples/aes192ctr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/aes192ctr.cpp b/examples/aes192ctr.cpp
index d53cb38..9cad355 100644
--- a/examples/aes192ctr.cpp
+++ b/examples/aes192ctr.cpp
@@ -41,6 +41,11 @@ int main()
dump_decrypted(decrypted);
dump_next_iv(next_iv);
}
+ catch (const aesni::Error& e)
+ {
+ std::cerr << e;
+ return 1;
+ }
catch (const std::exception& e)
{
std::cerr << e.what() << "\n";