From 8cd2b5c11ee8a46ac1d8ebb5c8cb6683e63c301d Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Sun, 18 Jan 2004 17:58:46 +0000 Subject: [PATCH] don't use cram-md5 for imap unless use secure auth is turned on, r=ch.ey@gmx.net, sr=sspitzer 231303 --- mailnews/imap/src/nsImapProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index 9e91795a0a0..8db0e465fac 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -4739,7 +4739,7 @@ void nsImapProtocol::AuthLogin(const char *userName, const char *password, eIMAP char * currentCommand=nsnull; nsresult rv; - if (flag & kHasCRAMCapability) + if (m_useSecAuth && flag & kHasCRAMCapability) { nsresult rv; char *digest;