aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/cc_enc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/cc_enc.cpp')
-rw-r--r--src/cli/cc_enc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/cc_enc.cpp b/src/cli/cc_enc.cpp
index 25c9b960b..35932b487 100644
--- a/src/cli/cc_enc.cpp
+++ b/src/cli/cc_enc.cpp
@@ -75,7 +75,7 @@ uint64_t encrypt_cc_number(uint64_t cc_number,
const Botan::BigInt c = Botan::FPE::fe1_encrypt(n, cc_ranked, key, tweak);
if(c.bits() > 50)
- throw std::runtime_error("FPE produced a number too large");
+ throw Botan::Internal_Error("FPE produced a number too large");
uint64_t enc_cc = 0;
for(size_t i = 0; i != 7; ++i)