bug 256851, Mozilla creates/verifies invalid S/MIME signatures on 8bit mails because of RFC Violation (need to convert to
Quoted Printable first) r+a=mscott, sr=bienvenu git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188603 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3214,6 +3214,15 @@ nsMsgComposeAndSend::Init(
|
||||
rv = pPrefBranch->GetIntPref(PREF_MAIL_MESSAGE_WARNING_SIZE, (PRInt32 *) &mMessageWarningSize);
|
||||
}
|
||||
|
||||
if (!strictly_mime)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsCOMPtr<nsIMsgComposeSecure> secureCompose;
|
||||
secureCompose = do_CreateInstance(NS_MSGCOMPOSESECURE_CONTRACTID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && secureCompose)
|
||||
secureCompose->RequiresCryptoEncapsulation(aUserIdentity, fields, &strictly_mime);
|
||||
}
|
||||
|
||||
nsMsgMIMESetConformToStandard(strictly_mime);
|
||||
mime_use_quoted_printable_p = strictly_mime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user