mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-21 16:09:19 +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 parsedSender = SeString.Parse(sender.RawData);
|
||||||
var playerLink = parsedSender.Payloads.FirstOrDefault(x => x.Type == PayloadType.Player) as PlayerPayload;
|
var playerLink = parsedSender.Payloads.FirstOrDefault(x => x.Type == PayloadType.Player) as PlayerPayload;
|
||||||
|
|
||||||
var senderName = string.Empty;
|
string senderName;
|
||||||
var senderWorld = string.Empty;
|
string senderWorld;
|
||||||
|
|
||||||
if (playerLink == null) {
|
if (playerLink == null) {
|
||||||
Log.Error("playerLink was null. Sender: {0}", BitConverter.ToString(sender.RawData));
|
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
|
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally
|
||||||
System.Net.ServicePointManager.SecurityProtocol =
|
System.Net.ServicePointManager.SecurityProtocol =
|
||||||
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls;
|
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3;
|
||||||
|
|
||||||
// Log any unhandled exception.
|
// Log any unhandled exception.
|
||||||
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
|
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue