You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-07-15 01:25:05 +02:00
Fixed stupid error.
This commit is contained in:
@ -21,12 +21,12 @@ namespace NzbDrone.Common.Security
|
|||||||
|
|
||||||
if (Enum.IsDefined(typeof(SecurityProtocolType), Tls11))
|
if (Enum.IsDefined(typeof(SecurityProtocolType), Tls11))
|
||||||
{
|
{
|
||||||
ServicePointManager.SecurityProtocol |= Tls11;
|
protocol |= Tls11;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Enum.IsDefined(typeof(SecurityProtocolType), Tls12))
|
if (Enum.IsDefined(typeof(SecurityProtocolType), Tls12))
|
||||||
{
|
{
|
||||||
ServicePointManager.SecurityProtocol |= Tls12;
|
protocol |= Tls12;
|
||||||
}
|
}
|
||||||
|
|
||||||
ServicePointManager.SecurityProtocol = protocol;
|
ServicePointManager.SecurityProtocol = protocol;
|
||||||
|
Reference in New Issue
Block a user