From 7c318a9e4928a9cc45c8d93418fc0f02fa44537f Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Mon, 21 Dec 2020 11:49:08 +0800 Subject: [PATCH] Remove hardcoded TLS1.3 --- Netch/Utils/WebUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Utils/WebUtil.cs b/Netch/Utils/WebUtil.cs index c9700878..65d59bee 100644 --- a/Netch/Utils/WebUtil.cs +++ b/Netch/Utils/WebUtil.cs @@ -10,7 +10,7 @@ namespace Netch.Utils { static WebUtil() { - ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13; + ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12; } public const string DefaultUserAgent =