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:
kaie%kuix.de
2006-01-31 21:07:51 +00:00
parent 0cc946dce5
commit 7a2b18090c

View File

@@ -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;