From 5ca7f19d05a64009fb6434e4cc79ca7428eceaf0 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 14 May 2015 06:52:26 +0530 Subject: [PATCH] Invalid value for CURLOPT_SSL_VERIFYPEER Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/plugins/auth/swekey/swekey.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d8dd18561fc3..4f9a0f25990b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ phpMyAdmin - ChangeLog - bug Undefined index collation_connection - bug Error when the reporting server is down - bug Escape database and table names for partition maintenance +- bug Invalid value for CURLOPT_SSL_VERIFYPEER 4.4.6.0 (2015-05-07) - bug #4890 webkitStorageInfo and webkitIndexedDB is deprecated diff --git a/libraries/plugins/auth/swekey/swekey.php b/libraries/plugins/auth/swekey/swekey.php index 91547161e0ae..baba5ee696f5 100644 --- a/libraries/plugins/auth/swekey/swekey.php +++ b/libraries/plugins/auth/swekey/swekey.php @@ -222,7 +222,7 @@ function Swekey_HttpGet($url, &$response_code) } curl_setopt($sess, CURLOPT_SSL_VERIFYHOST, '2'); - curl_setopt($sess, CURLOPT_SSL_VERIFYPEER, '2'); + curl_setopt($sess, CURLOPT_SSL_VERIFYPEER, '1'); curl_setopt($sess, CURLOPT_CONNECTTIMEOUT, '20'); curl_setopt($sess, CURLOPT_TIMEOUT, '20'); } else {