Remove hardcoded TLS1.3

This commit is contained in:
ChsBuffer
2020-12-21 11:49:08 +08:00
parent f9724f77c2
commit 7c318a9e49

View File

@@ -10,7 +10,7 @@ namespace Netch.Utils
{
static WebUtil()
{
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
}
public const string DefaultUserAgent =