From c3c1158ca9cc5d4b0df00febce4ba0924d9a2e2b Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Tue, 29 Apr 2003 18:19:24 +0000 Subject: [PATCH] fix bug 203219, failure to logon to pop3 servers that support cram-md5, r/sr=sspitzer, a=sspitzer git-svn-id: svn://10.0.0.236/trunk@141939 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/local/src/nsPop3Protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/mailnews/local/src/nsPop3Protocol.cpp b/mozilla/mailnews/local/src/nsPop3Protocol.cpp index 8f5bca631bf..5175a00925a 100644 --- a/mozilla/mailnews/local/src/nsPop3Protocol.cpp +++ b/mozilla/mailnews/local/src/nsPop3Protocol.cpp @@ -1145,7 +1145,7 @@ PRInt32 nsPop3Protocol::SendPassword() unsigned char digest[DIGEST_LENGTH]; char *decodedChallenge = PL_Base64Decode(m_commandResponse.get(), - m_commandResponse.Length() - 2 /* subtract CRLF */, nsnull); + m_commandResponse.Length(), nsnull); rv = MSGCramMD5(decodedChallenge, strlen(decodedChallenge), password.get(), password.Length(), digest);