From: Andrew Dolgov Date: Mon, 27 Dec 2010 12:42:31 +0000 (+0300) Subject: simplepie: enable digest authentication X-Git-Tag: 1.5.1~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=86027a078d574b3b88b19c058fd9cb6925ee9ebc;p=tt-rss.git simplepie: enable digest authentication --- diff --git a/lib/simplepie/simplepie.inc b/lib/simplepie/simplepie.inc index 45c33c86..49e9edf3 100644 --- a/lib/simplepie/simplepie.inc +++ b/lib/simplepie/simplepie.inc @@ -7690,6 +7690,10 @@ class SimplePie_File curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects); } + /* Enable Digest authentication and SSL -fox */ + curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY); + $this->headers = curl_exec($fp); if (curl_errno($fp) === 23 || curl_errno($fp) === 61) {