1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Fixed stupid error.

This commit is contained in:
Taloth Saldono 2016-09-03 12:57:30 +02:00
parent 5482fa3ae0
commit 5414dadffc

View File

@ -21,12 +21,12 @@ public static void Register()
if (Enum.IsDefined(typeof(SecurityProtocolType), Tls11))
{
ServicePointManager.SecurityProtocol |= Tls11;
protocol |= Tls11;
}
if (Enum.IsDefined(typeof(SecurityProtocolType), Tls12))
{
ServicePointManager.SecurityProtocol |= Tls12;
protocol |= Tls12;
}
ServicePointManager.SecurityProtocol = protocol;