mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed stupid error.
This commit is contained in:
parent
5482fa3ae0
commit
5414dadffc
1 changed files with 2 additions and 2 deletions
|
@ -21,12 +21,12 @@ namespace NzbDrone.Common.Security
|
|||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue