Index: trunk/extensions/TweetANew/lib/tmhOAuth.php |
— | — | @@ -7,12 +7,12 @@ |
8 | 8 | * REST requests. OAuth authentication is sent using the an Authorization Header. |
9 | 9 | * |
10 | 10 | * @author themattharris |
11 | | - * @version 0.60 |
| 11 | + * @version 0.61 |
12 | 12 | * |
13 | | - * 29 December 2011 |
| 13 | + * 16 January 2012 |
14 | 14 | */ |
15 | 15 | class tmhOAuth { |
16 | | - const VERSION = 0.60; |
| 16 | + const VERSION = 0.61; |
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Creates a new tmhOAuth object |
— | — | @@ -52,8 +52,9 @@ |
53 | 53 | 'curl_connecttimeout' => 30, |
54 | 54 | 'curl_timeout' => 10, |
55 | 55 | |
56 | | - // for security these should always be set to true. |
57 | | - 'curl_ssl_verifyhost' => true, |
| 56 | + // for security this should always be set to 2. |
| 57 | + 'curl_ssl_verifyhost' => 2, |
| 58 | + // for security this should always be set to true. |
58 | 59 | 'curl_ssl_verifypeer' => true, |
59 | 60 | |
60 | 61 | // you can get the latest cacert.pem from here http://curl.haxx.se/ca/cacert.pem |
— | — | @@ -652,4 +653,4 @@ |
653 | 654 | $this->response['errno'] = $errno; |
654 | 655 | return $code; |
655 | 656 | } |
656 | | -} |
| 657 | +} |
\ No newline at end of file |