Bug #224138 --> can't send S/MIME Encrypted messages because we aren't adding a CRLF to the last message line.

patch by ch

sr=mscott

a=asa
This commit is contained in:
scott%scott-macgregor.org 2003-11-19 16:52:18 +00:00
parent e6f91f1650
commit 05e69474ee

View File

@ -867,6 +867,9 @@ nsresult nsMsgComposeSecure::MimeFinishEncryption (PRBool aSign, nsIMsgSendRepor
rv = MIME_EncoderDestroy(mCryptoEncoderData, PR_FALSE);
mCryptoEncoderData = 0;
if (PRInt32(mStream->write(CRLF, 2)) < 2)
rv = NS_ERROR_FAILURE;
FAIL:
return rv;
}