]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not force sslversion in any cases
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 16 Oct 2014 05:01:23 +0000 (09:01 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 16 Oct 2014 05:01:23 +0000 (09:01 +0400)
include/functions.php
include/functions2.php

index d783bd8531b2dbaf55593f0acd50425b82cd6900..1dbf004daf3c699e4bc03b65b98b0b2ec00c6a2f 100644 (file)
                                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");
 
index 69f447e8c50bf75a11d74a13c411db3b996a24b0..672373e6dddf4fe2b36701c25638ebf8764d3277 100644 (file)
                        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);