aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes256cfb.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/aes256cfb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/aes256cfb.cpp b/examples/aes256cfb.cpp
index 599392c..fb43d3a 100644
--- a/examples/aes256cfb.cpp
+++ b/examples/aes256cfb.cpp
@@ -43,6 +43,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";