From b8de0bf56b0aa703fd3be16002f4baa3c9702716 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 18 Jul 2018 09:14:00 -0400 Subject: [PATCH] removed dead code --- MediaBrowser.Server.Mono/Program.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/MediaBrowser.Server.Mono/Program.cs b/MediaBrowser.Server.Mono/Program.cs index 7ecc69c894..cf8557b48a 100644 --- a/MediaBrowser.Server.Mono/Program.cs +++ b/MediaBrowser.Server.Mono/Program.cs @@ -93,9 +93,6 @@ private static ServerApplicationPaths CreateApplicationPaths(string applicationP private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, StartupOptions options) { - // Allow all https requests - ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; }); - var environmentInfo = GetEnvironmentInfo(options); var fileSystem = new ManagedFileSystem(logManager.GetLogger("FileSystem"), environmentInfo, null, appPaths.TempDirectory, true);