summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-10-16 09:01:23 +0400
committerAndrew Dolgov <[email protected]>2014-10-16 09:01:23 +0400
commit229a871be7eec8e96c9fa0efab50e40ccc6c4ef0 (patch)
tree4096bf9dabd8bb8d00a94821ab0a91241f0bbd45 /include
parent3a008ecc769c8b3062a786c74af10d2048a12fda (diff)
do not force sslversion in any cases
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
-rw-r--r--include/functions2.php4
2 files changed, 0 insertions, 8 deletions
diff --git a/include/functions.php b/include/functions.php
index d783bd853..1dbf004da 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -403,10 +403,6 @@
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)
curl_setopt($ch, CURLOPT_USERPWD, "$login:$pass");
diff --git a/include/functions2.php b/include/functions2.php
index 69f447e8c..672373e6d 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -2243,10 +2243,6 @@
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);
$status = curl_getinfo($curl);