mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 22:51:28 +00:00
do not force sslversion in any cases
This commit is contained in:
@@ -403,10 +403,6 @@
|
|||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_query);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_query);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((OPENSSL_VERSION_NUMBER >= 0x0090808f) && (OPENSSL_VERSION_NUMBER < 0x10000000)) {
|
|
||||||
curl_setopt($ch, CURLOPT_SSLVERSION, 3);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($login && $pass)
|
if ($login && $pass)
|
||||||
curl_setopt($ch, CURLOPT_USERPWD, "$login:$pass");
|
curl_setopt($ch, CURLOPT_USERPWD, "$login:$pass");
|
||||||
|
|
||||||
|
|||||||
@@ -2243,10 +2243,6 @@
|
|||||||
curl_setopt($curl, CURLOPT_PROXY, _CURL_HTTP_PROXY);
|
curl_setopt($curl, CURLOPT_PROXY, _CURL_HTTP_PROXY);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((OPENSSL_VERSION_NUMBER >= 0x0090808f) && (OPENSSL_VERSION_NUMBER < 0x10000000)) {
|
|
||||||
curl_setopt($curl, CURLOPT_SSLVERSION, 3);
|
|
||||||
}
|
|
||||||
|
|
||||||
$html = curl_exec($curl);
|
$html = curl_exec($curl);
|
||||||
|
|
||||||
$status = curl_getinfo($curl);
|
$status = curl_getinfo($curl);
|
||||||
|
|||||||
Reference in New Issue
Block a user