fix: add Ssl3 to security protocol types

This commit is contained in:
goat 2020-02-10 23:33:31 +09:00
parent 0c4febb680
commit a3472c76bc
2 changed files with 3 additions and 3 deletions

View file

@ -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));

View file

@ -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;