diff --git a/ChangeLog b/ChangeLog index 13892b9d4f..652f2d2c60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -46,6 +46,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.1 (2015-05-13) - bug #4899 [security] CSRF vulnerability in setup diff --git a/libraries/plugins/auth/swekey/swekey.php b/libraries/plugins/auth/swekey/swekey.php index 91547161e0..baba5ee696 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 {