From 60299c4e299c6efe9d516ede7e8fa732646a3de0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Dec 2017 15:39:39 +0000 Subject: Improve KDM decryption error message again. --- src/exceptions.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exceptions.cc') 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)) { } -- cgit v1.2.3