Skip to content

Commit bbf7e8e

Browse files
authored
fix redundant CRLF response during SMTP negotiate (#105939)
1 parent 714be4b commit bbf7e8e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libraries/System.Net.Mail/src/System/Net/Mail/SmtpNegotiateAuthenticationModule.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ internal SmtpNegotiateAuthenticationModule()
6363
{
6464
return null;
6565
}
66-
if (clientContext.IsAuthenticated && resp == null)
67-
{
68-
resp = "\r\n";
69-
}
7066
}
7167
else
7268
{

0 commit comments

Comments
 (0)