From: Zach Copley Date: Tue, 24 Nov 2009 19:11:34 +0000 (+0000) Subject: Fix SSL options for Twitter bridge HTTP requests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3556861596652b82e607db62c9c28ef379657779;p=quix0rs-gnu-social.git Fix SSL options for Twitter bridge HTTP requests --- diff --git a/lib/oauthclient.php b/lib/oauthclient.php index 1a86e2460e..b22fd78974 100644 --- a/lib/oauthclient.php +++ b/lib/oauthclient.php @@ -197,6 +197,7 @@ class OAuthClient 'timeout' => 120, 'follow_redirects' => true, 'ssl_verify_peer' => false, + 'ssl_verify_host' => false )); // Twitter is strict about accepting invalid "Expect" headers diff --git a/plugins/TwitterBridge/twitterbasicauthclient.php b/plugins/TwitterBridge/twitterbasicauthclient.php index d1cf45aec6..7ee8d7d4c4 100644 --- a/plugins/TwitterBridge/twitterbasicauthclient.php +++ b/plugins/TwitterBridge/twitterbasicauthclient.php @@ -183,7 +183,8 @@ class TwitterBasicAuthClient 'follow_redirects' => true, 'connect_timeout' => 120, 'timeout' => 120, - 'ssl_verifypeer' => false, + 'ssl_verify_peer' => false, + 'ssl_verify_host' => false )); if ($auth) {