Skip to content

Commit

Permalink
This should be enough and work on MacOS too.
Browse files Browse the repository at this point in the history
  • Loading branch information
KirovAir committed Sep 26, 2019
1 parent 9d8a5cc commit d90c15c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TwilightBoxart/BoxartCrawler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ public class BoxartCrawler

public BoxartCrawler(IProgress<string> progress = null)
{
// Enable all SSL cert pinning for now as users have reported problems with github.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
// Disable all SSL cert pinning for now as users have reported problems with github.
ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;

_progress = progress;
Expand Down

0 comments on commit d90c15c

Please sign in to comment.