com web/doc-editor: Fix SSL for linkedin: php/oauth.php
| From: | Yannick Torres | Date: | Tue, 29 Jul 2014 05:03:29 +0000 |
| Subject: | com web/doc-editor: Fix SSL for linkedin: php/oauth.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12658@lists.php.net to get a copy of this message | ||
Commit: 00f52fbf3f340d8926e544defc5283519b823626
Author: Yannick Torrès <yannick.torres@gmail.com> Tue, 29 Jul 2014 07:03:29 +0200
Parents: 3bdbbb687e0f644bb7e1ce8e36a85de67f00423d
Branches: master
Link: http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=00f52fbf3f340d8926e544defc5283519b823626
Log:
Fix SSL for linkedin
Changed paths:
M php/oauth.php
Diff:
diff --git a/php/oauth.php b/php/oauth.php
index 5cac076..c103bcb 100644
--- a/php/oauth.php
+++ b/php/oauth.php
@@ -418,7 +418,8 @@ class Oauth_linkedin
curl_setopt_array($curl, array(
CURLOPT_ENCODING => "",
CURLOPT_RETURNTRANSFER => 1,
- CURLOPT_USERAGENT => 'Php Docbook Online Editor'
+ CURLOPT_USERAGENT => 'Php Docbook Online Editor',
+ CURLOPT_CAINFO => '/local/web/sites/ca-bundle.crt'
));
$resp = curl_exec($curl);