Skip to content

Commit 4f01fd3

Browse files
tintoybrendandburns
authored andcommitted
Address feedback from #103. (#108)
1 parent 2908309 commit 4f01fd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WebSocketBuilder.NetCoreApp2.1.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ public WebSocketBuilder ExpectServerCertificate(X509Certificate2 serverCertifica
4242
Options.ServerCertificateCustomValidationCallback = (sender, certificate, chain, sslPolicyErrors) =>
4343
{
4444
if (sslPolicyErrors != SslPolicyErrors.RemoteCertificateChainErrors)
45+
{
4546
return false;
47+
}
4648

4749
try
4850
{

0 commit comments

Comments
 (0)