From: Samu Voutilainen Date: Thu, 22 May 2014 08:32:23 +0000 (+0300) Subject: xmlrpc.inc: changed verifyhost from 1 to 2. X-Git-Tag: 4.0.0-alpha^2~212^2~4^2~7 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ae97a6704edc1c6d0c4966a5f0e232d570635515;p=plcapi.git xmlrpc.inc: changed verifyhost from 1 to 2. New PHP versions (PHP 5.3 and so on) does not support CURL’s ssl host checking option 1 anymore, 2 is enforced or no checks. --- diff --git a/ChangeLog b/ChangeLog index c4c793d2..fa261c51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ * removed deprecated xmlEntities * removed deprecated xmlrpc_backslash * converted $GLOBALS to internal class. This makes testing much easier and should be more flexible regarding other projects + * changed verifyhost from 1 to 2. This makes modern php versions work properly. 2014-02-03 - G. Giunta (giunta.gaetano@gmail.com) diff --git a/lib/xmlrpc.inc b/lib/xmlrpc.inc index 52a1104f..64f41419 100644 --- a/lib/xmlrpc.inc +++ b/lib/xmlrpc.inc @@ -814,7 +814,7 @@ class Xmlrpc { var $key=''; var $keypass=''; var $verifypeer=true; - var $verifyhost=1; + var $verifyhost=2; var $no_multicall=false; var $proxy=''; var $proxyport=0;