mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Revert "Fix Mono 4.8+"
This reverts commit a261dc44fd.
No longer needed, Mono switched to legacy TLS once again due to those issues.
This commit is contained in:
@@ -54,10 +54,6 @@ namespace ArchiSteamFarm {
|
||||
// Don't use Expect100Continue, we're sure about our POSTs, save some TCP packets
|
||||
ServicePointManager.Expect100Continue = false;
|
||||
|
||||
if (Runtime.RequiresNoCertificateValidation()) {
|
||||
ServicePointManager.ServerCertificateValidationCallback += (s, ce, ca, p) => true;
|
||||
}
|
||||
|
||||
#if !__MonoCS__
|
||||
// We run Windows-compiled ASF on both Windows and Mono. Normally we'd simply put code in the if
|
||||
// However, if we did that, then we would still crash on Mono due to potentially calling non-existing methods
|
||||
|
||||
Reference in New Issue
Block a user