From d86f776d84ef2e1bcd6da25e93cc02d99e556d94 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 28 Jul 2018 19:47:57 +0200 Subject: [PATCH] Making a more insistent disabling of TLS checks --- Logic/Support/General.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/Support/General.cs b/Logic/Support/General.cs index 1b46d582..87ba1e31 100644 --- a/Logic/Support/General.cs +++ b/Logic/Support/General.cs @@ -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; }