Skip to content

Commit

Permalink
dropped support for ssl3 + tls1.0 + tls1.1
Browse files Browse the repository at this point in the history
changes to #140
  • Loading branch information
3F committed Apr 15, 2020
1 parent 1305599 commit d1088d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Wizard/PackageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ private static void DefineSecurityProtocol()
Enum.GetValues(typeof(SecurityProtocolType))
.Cast<SecurityProtocolType>()
.ForEach(s => ServicePointManager.SecurityProtocol |= s);

ServicePointManager.SecurityProtocol &= ~(SecurityProtocolType)(0x30 | 0xC0 | 0x300); // drop support for ssl3 + tls1.0 + tls1.1
}
}
}

0 comments on commit d1088d7

Please sign in to comment.