diff options
-rw-r--r-- | Auth/Yadis/ParanoidHTTPFetcher.php | 3 | ||||
-rw-r--r-- | Auth/Yadis/PlainHTTPFetcher.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Auth/Yadis/ParanoidHTTPFetcher.php b/Auth/Yadis/ParanoidHTTPFetcher.php index aca9c08..08aced6 100644 --- a/Auth/Yadis/ParanoidHTTPFetcher.php +++ b/Auth/Yadis/ParanoidHTTPFetcher.php @@ -54,6 +54,9 @@ class Auth_Yadis_ParanoidHTTPFetcher extends Auth_Yadis_HTTPFetcher { return strlen($data); } + /** + * Does this fetcher support SSL URLs? + */ function supportsSSL() { $v = curl_version(); diff --git a/Auth/Yadis/PlainHTTPFetcher.php b/Auth/Yadis/PlainHTTPFetcher.php index 155cf65..15dc3a7 100644 --- a/Auth/Yadis/PlainHTTPFetcher.php +++ b/Auth/Yadis/PlainHTTPFetcher.php @@ -26,6 +26,9 @@ require_once "Auth/Yadis/HTTPFetcher.php"; * @package OpenID */ class Auth_Yadis_PlainHTTPFetcher extends Auth_Yadis_HTTPFetcher { + /** + * Does this fetcher support SSL URLs? + */ function supportsSSL() { return function_exists('openssl_open'); |