Skip to content

Commit

Permalink
Adding CURLOPT_SSL_VERIFYHOST off and CURLOPT_SSL_VERIFYPEER off to a…
Browse files Browse the repository at this point in the history
…void SSL error reports in updates.
  • Loading branch information
mb committed May 2, 2017
1 parent 2e633d2 commit 423b5ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vendor/fguillot/picofeed/lib/PicoFeed/Client/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ private function prepareContext()
curl_setopt($ch, CURLOPT_ENCODING, '');
curl_setopt($ch, CURLOPT_COOKIEJAR, 'php://memory');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'php://memory');
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

// Disable SSLv3 by enforcing TLSv1.x for curl >= 7.34.0 and < 7.39.0.
// Versions prior to 7.34 and at least when compiled against openssl
Expand Down

0 comments on commit 423b5ea

Please sign in to comment.