aboutsummaryrefslogtreecommitdiffstats
path: root/checks/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'checks/block.cpp')
-rw-r--r--checks/block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/block.cpp b/checks/block.cpp
index 3cd41e63a..c90e3e499 100644
--- a/checks/block.cpp
+++ b/checks/block.cpp
@@ -89,7 +89,7 @@ void ECB_Encryption_ErrorCheck::end_msg()
}
if(position)
- throw Exception("ECB: input was not in full blocks");
+ throw Encoding_Error("ECB: input was not in full blocks");
}
Filter* lookup_block(const std::string& algname, const std::string& key)