Patch Freezone to use TLS1.0
This commit is contained in:
parent
1a97d14a1b
commit
f442638e46
|
@ -150,6 +150,11 @@ class Client
|
||||||
$options[CURLOPT_SSL_VERIFYHOST] = 0;
|
$options[CURLOPT_SSL_VERIFYHOST] = 0;
|
||||||
$options[CURLOPT_SSL_VERIFYPEER] = 0;
|
$options[CURLOPT_SSL_VERIFYPEER] = 0;
|
||||||
|
|
||||||
|
// Patch for ws.trackmania.com
|
||||||
|
// force use of TLS 1.0
|
||||||
|
$options[CURLOPT_SSLVERSION] = 4;
|
||||||
|
// Patch end
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
|
Loading…
Reference in New Issue