cosullivan / SmtpServer

A SMTP Server component written in C#
MIT License
675 stars 159 forks source link

Added AllowClientSslRenegotiation property on .NET STANDARD 2.1 #191

Open eallegretta opened 1 year ago

eallegretta commented 1 year ago

.NET 7 made AllowRenegotiation on SslStream false by default to avoid the following potential vulnerability https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555, I've added a setting to make it true in the event someone wants to set it, this only applies to .NET STANDARD 2.1, support for netstandard2.1 target framework has also been added