aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/exceptn.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-19 16:18:14 -0400
committerJack Lloyd <[email protected]>2017-10-19 16:18:14 -0400
commit53a7136759a38f5cd7b1dfcd79868ffe89d61c35 (patch)
treed729e21474c99f9e5364007733a0577f7e444ecf /src/lib/utils/exceptn.cpp
parent843a982c3a019e18975aef0277af44a3731f8caa (diff)
Undeprecate these exceptions
Cannot figure out how to get MSVC to shut up
Diffstat (limited to 'src/lib/utils/exceptn.cpp')
-rw-r--r--src/lib/utils/exceptn.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/utils/exceptn.cpp b/src/lib/utils/exceptn.cpp
index caae15a33..240742602 100644
--- a/src/lib/utils/exceptn.cpp
+++ b/src/lib/utils/exceptn.cpp
@@ -44,6 +44,9 @@ Invalid_IV_Length::Invalid_IV_Length(const std::string& mode, size_t bad_len) :
" is invalid for " + mode)
{}
+Policy_Violation::Policy_Violation(const std::string& err) :
+ Invalid_State("Policy violation: " + err) {}
+
PRNG_Unseeded::PRNG_Unseeded(const std::string& algo) :
Invalid_State("PRNG not seeded: " + algo)
{}