summaryrefslogtreecommitdiff
path: root/simplepie
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-01-24 09:09:31 +0100
committerAndrew Dolgov <[email protected]>2008-01-24 09:09:31 +0100
commit96841bf3a3d542bf66b909341b46fa04b13b72a9 (patch)
tree562bad4a70aa9ba62da293d33588184ce22d6872 /simplepie
parent6d7d21a035e62fa3d7623068f5afe395e5a679c4 (diff)
simplepie: enable https and digest auth
Diffstat (limited to 'simplepie')
-rw-r--r--simplepie/simplepie.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/simplepie/simplepie.inc b/simplepie/simplepie.inc
index 78ccfb8b3..fce53d396 100644
--- a/simplepie/simplepie.inc
+++ b/simplepie/simplepie.inc
@@ -7582,6 +7582,9 @@ class SimplePie_File
curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
}
+
+ 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)
@@ -13266,4 +13269,4 @@ class SimplePie_Sanitize
}
}
-?> \ No newline at end of file
+?>