From 04dca4ceb82423eca1aab1bd2eafbf60eec827e5 Mon Sep 17 00:00:00 2001 From: fengyuexingzi Date: Wed, 13 Jun 2018 15:06:09 +0800 Subject: [PATCH] ssl --- auth/linkedin/callback.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/linkedin/callback.php b/auth/linkedin/callback.php index 31e4dca..29170df 100644 --- a/auth/linkedin/callback.php +++ b/auth/linkedin/callback.php @@ -61,8 +61,8 @@ function getInfo($access_token) 'Authorization: Bearer ' . $data['access_token'], ]); - curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); - curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + //curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); + //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5);