From 8b9f707716176b96e8cdbd2c6bcfe07d359d367a Mon Sep 17 00:00:00 2001 From: "kaie@kuix.de" Date: Mon, 16 Jul 2007 23:13:38 -0700 Subject: [PATCH] Bug 380744, Thunderbird reports "unable to decrypt" on truncated decryptable messages r=relyea, sr=mscott --- security/manager/ssl/public/nsICMSMessageErrors.idl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/security/manager/ssl/public/nsICMSMessageErrors.idl b/security/manager/ssl/public/nsICMSMessageErrors.idl index 0c5c51b7187..d97aa6ffc3c 100644 --- a/security/manager/ssl/public/nsICMSMessageErrors.idl +++ b/security/manager/ssl/public/nsICMSMessageErrors.idl @@ -63,6 +63,7 @@ interface nsICMSMessageErrors : nsISupports const long VERIFY_CERT_WITHOUT_ADDRESS = 1040; const long ENCRYPT_NO_BULK_ALG = 1056; + const long ENCRYPT_INCOMPLETE = 1057; }; %{ C++ @@ -118,4 +119,7 @@ interface nsICMSMessageErrors : nsISupports #define NS_ERROR_CMS_ENCRYPT_NO_BULK_ALG \ NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_SECURITY, \ nsICMSMessageErrors::ENCRYPT_NO_BULK_ALG) +#define NS_ERROR_CMS_ENCRYPT_INCOMPLETE \ + NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_SECURITY, \ + nsICMSMessageErrors::ENCRYPT_INCOMPLETE) %}