Patch Freezone to use TLS1.0
This commit is contained in:
parent
1a97d14a1b
commit
f442638e46
|
@ -149,6 +149,11 @@ class Client
|
||||||
// But the certificates of our api are self-signed for now
|
// But the certificates of our api are self-signed for now
|
||||||
$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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue