aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/exceptn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/exceptn.cpp')
-rw-r--r--src/lib/utils/exceptn.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/utils/exceptn.cpp b/src/lib/utils/exceptn.cpp
index 240742602..3fa7dfd3e 100644
--- a/src/lib/utils/exceptn.cpp
+++ b/src/lib/utils/exceptn.cpp
@@ -44,6 +44,10 @@ Invalid_IV_Length::Invalid_IV_Length(const std::string& mode, size_t bad_len) :
" is invalid for " + mode)
{}
+Key_Not_Set::Key_Not_Set(const std::string& algo) :
+ Invalid_State("Key not set in " + algo)
+ {}
+
Policy_Violation::Policy_Violation(const std::string& err) :
Invalid_State("Policy violation: " + err) {}