From b20b59e9eaf8db1a5a2b26b697b03abfa98d0583 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 24 Nov 2009 19:11:34 +0000 Subject: [PATCH] Fix SSL options for Twitter bridge HTTP requests --- lib/oauthclient.php | 1 + plugins/TwitterBridge/twitterbasicauthclient.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.39.5