b=153243 Error in recipient certificate availability checking, causing unreadable mail
r=ssaux sr=jag git-svn-id: svn://10.0.0.236/trunk@123745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2686facd07
commit
df04878acc
@ -914,12 +914,12 @@ nsresult nsMsgComposeSecure::MimeCryptoHackCerts(const char *aRecipients,
|
||||
/* If the message is to be encrypted, then get the recipient certs */
|
||||
if (aEncrypt) {
|
||||
mailbox = mailbox_list;
|
||||
nsCString mailbox_lowercase;
|
||||
ToLowerCase(nsDependentCString(mailbox), mailbox_lowercase);
|
||||
|
||||
PRBool already_added_self_cert = PR_FALSE;
|
||||
|
||||
for (; count > 0; count--) {
|
||||
nsCString mailbox_lowercase;
|
||||
ToLowerCase(nsDependentCString(mailbox), mailbox_lowercase);
|
||||
nsCOMPtr<nsIX509Cert> cert;
|
||||
certdb->GetCertByEmailAddress(nsnull, mailbox_lowercase.get(), getter_AddRefs(cert));
|
||||
PRBool foundValidCert = PR_FALSE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user