b=186087 Mozilla hangs when using SSL SMTP with revoked certificate

r/sr=sspitzer a=dbaron


git-svn-id: svn://10.0.0.236/trunk@137344 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kaie%netscape.com
2003-02-04 01:22:49 +00:00
parent bc51f91eae
commit 25d52f399e

View File

@@ -882,7 +882,7 @@ PRInt32 nsSmtpProtocol::AuthLoginUsername()
rv = GetUsernamePassword(getter_Copies(username), getter_Copies(origPassword));
m_usernamePrompted = PR_TRUE;
password.Assign(origPassword);
if (password.IsEmpty())
if (username.IsEmpty() || password.IsEmpty())
return NS_ERROR_SMTP_PASSWORD_UNDEFINED;
}
else if (!TestFlag(SMTP_USE_LOGIN_REDIRECTION))