Lower security level for cURL to temporary handle #256

This commit is contained in:
Fedor A. Fetisov 2021-05-13 00:07:33 +03:00
parent 0317979c92
commit e8c069ad11

View File

@ -131,6 +131,7 @@ class UpdateChecker
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_MAXREDIRS, 5);
curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'DEFAULT@SECLEVEL=1');
$json = json_encode($this->getSystemInfo());
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);