Invalid value for CURLOPT_SSL_VERIFYPEER

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-05-14 06:52:26 +05:30
parent 50b2985a3e
commit 5ca7f19d05
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 {