]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix SSL options for Twitter bridge HTTP requests
authorZach Copley <zach@status.net>
Tue, 24 Nov 2009 19:11:34 +0000 (19:11 +0000)
committerZach Copley <zach@status.net>
Tue, 24 Nov 2009 19:11:34 +0000 (19:11 +0000)
lib/oauthclient.php
plugins/TwitterBridge/twitterbasicauthclient.php

index 1a86e2460e77e1598d6331b26423bccd8515d909..b22fd789740c95b93fc0c5623202ceb920447b3e 100644 (file)
@@ -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
index d1cf45aec608f0d0f4d9836d008f6c4feb724a95..7ee8d7d4c4d5210e668cf7de3eacb726c93520f4 100644 (file)
@@ -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) {