Making a more insistent disabling of TLS checks

This commit is contained in:
Rick Falkvinge
2018-07-28 19:47:57 +02:00
parent 353f789e50
commit d86f776d84
+1 -1
View File
@@ -21,7 +21,7 @@ namespace Swarmops.Logic.Support
// TODO: Does this install a new handler every time it's been called? How do you verify that this short-circuit is in place?
System.Net.ServicePointManager.ServerCertificateValidationCallback +=
System.Net.ServicePointManager.ServerCertificateValidationCallback =
(sender, certificate, chain, sslPolicyErrors) => true;
}