mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix: add Ssl3 to security protocol types
This commit is contained in:
parent
0c4febb680
commit
a3472c76bc
2 changed files with 3 additions and 3 deletions
|
|
@ -182,8 +182,8 @@ namespace Dalamud.DiscordBot {
|
|||
var parsedSender = SeString.Parse(sender.RawData);
|
||||
var playerLink = parsedSender.Payloads.FirstOrDefault(x => x.Type == PayloadType.Player) as PlayerPayload;
|
||||
|
||||
var senderName = string.Empty;
|
||||
var senderWorld = string.Empty;
|
||||
string senderName;
|
||||
string senderWorld;
|
||||
|
||||
if (playerLink == null) {
|
||||
Log.Error("playerLink was null. Sender: {0}", BitConverter.ToString(sender.RawData));
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Dalamud {
|
|||
|
||||
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally
|
||||
System.Net.ServicePointManager.SecurityProtocol =
|
||||
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls;
|
||||
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3;
|
||||
|
||||
// Log any unhandled exception.
|
||||
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue