summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-15 15:39:39 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-15 15:39:39 +0000
commit60299c4e299c6efe9d516ede7e8fa732646a3de0 (patch)
tree20ef60df8e347a068a082628f884dc7cc7568424 /src/exceptions.cc
parent9bcc4e7b7099b07677d77fe9ea52330fc93c7aa7 (diff)
Improve KDM decryption error message again.
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc
index 51dd6b01..71771b1c 100644
--- a/src/exceptions.cc
+++ b/src/exceptions.cc
@@ -91,8 +91,8 @@ MismatchedStandardError::MismatchedStandardError ()
}
-KDMDecryptionError::KDMDecryptionError (std::string message)
- : runtime_error (String::compose ("Could not decrypt KDM (%1)", message))
+KDMDecryptionError::KDMDecryptionError (std::string message, int cipher_length, int modulus_dmax)
+ : runtime_error (String::compose ("Could not decrypt KDM (%1) (%2/%3)", message, cipher_length, modulus_dmax))
{
}