Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 4b281de

Browse files
committed
Really don't need this
1 parent 1598539 commit 4b281de

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ static EntryPoint()
2424

2525
LogHelper.LogAdapter = new FileLogAdapter(tempEnv.LogPath);
2626

27-
ServicePointManager.ServerCertificateValidationCallback = ServerCertificateValidationCallback;
28-
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
2927
EditorApplication.update += Initialize;
3028
}
3129

@@ -87,12 +85,6 @@ internal static void Restart()
8785
Initialize();
8886
}
8987

90-
private static bool ServerCertificateValidationCallback(object sender, X509Certificate certificate,
91-
X509Chain chain, SslPolicyErrors sslPolicyErrors)
92-
{
93-
return true;
94-
}
95-
9688
private static ApplicationManager appManager;
9789
public static IApplicationManager ApplicationManager
9890
{

0 commit comments

Comments
 (0)