Patch Freezone to use TLS1.0

This commit is contained in:
fanyx 2022-06-26 16:01:39 +02:00
parent 1a97d14a1b
commit f442638e46
1 changed files with 5 additions and 0 deletions

View File

@ -150,6 +150,11 @@ class Client
$options[CURLOPT_SSL_VERIFYHOST] = 0;
$options[CURLOPT_SSL_VERIFYPEER] = 0;
// Patch for ws.trackmania.com
// force use of TLS 1.0
$options[CURLOPT_SSLVERSION] = 4;
// Patch end
try
{
$ch = curl_init();