]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
curl: let's verify ssl peers
[tt-rss.git] / include / functions2.php
index b4018453ebd6413a108002ec95a5d4a8e80b42ee..6a83a44f288b0b8c57ece96f19c7149bb6db9714 100644 (file)
                curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
                //curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); //CURLOPT_FOLLOWLOCATION Disabled...
                curl_setopt($curl, CURLOPT_TIMEOUT, 60);
-               curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
 
                if (defined('_CURL_HTTP_PROXY')) {
                        curl_setopt($curl, CURLOPT_PROXY, _CURL_HTTP_PROXY);