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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user