diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-11-24 21:41:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-24 21:41:03 +0900 |
| commit | 6889d09cf7b90474f1e98e09ee17c83a776265c1 (patch) | |
| tree | 0b5d7038c2fbb3ef763128f8695318e9fc1d5297 | |
| parent | 51cdc6ea166b6eae7f060ce05c74e83b34a94976 (diff) | |
| parent | 526776372e9701df8976e5af20de4287b7bca599 (diff) | |
Merge pull request #2040 from Bond-009/https
Validate https certificates
| -rw-r--r-- | Jellyfin.Server/Program.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index e8bd0cd30..bdf3689f1 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -141,13 +141,6 @@ namespace Jellyfin.Server // http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c ServicePointManager.Expect100Continue = false; -// CA5359: Do Not Disable Certificate Validation -#pragma warning disable CA5359 - - // Allow all https requests - ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; }); -#pragma warning restore CA5359 - Batteries_V2.Init(); if (raw.sqlite3_enable_shared_cache(1) != raw.SQLITE_OK) { |
