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