From 86027a078d574b3b88b19c058fd9cb6925ee9ebc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 27 Dec 2010 15:42:31 +0300 Subject: [PATCH] simplepie: enable digest authentication --- lib/simplepie/simplepie.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/simplepie/simplepie.inc b/lib/simplepie/simplepie.inc index 45c33c86e..49e9edf39 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) {