summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oauthclient.php1
-rw-r--r--plugins/TwitterBridge/twitterbasicauthclient.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/oauthclient.php b/lib/oauthclient.php
index 1a86e2460..b22fd7897 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 d1cf45aec..7ee8d7d4c 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) {