From ae97a6704edc1c6d0c4966a5f0e232d570635515 Mon Sep 17 00:00:00 2001 From: Samu Voutilainen Date: Thu, 22 May 2014 11:32:23 +0300 Subject: [PATCH] xmlrpc.inc: changed verifyhost from 1 to 2. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- ChangeLog | 1 + lib/xmlrpc.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c4c793d..fa261c5 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 52a1104..64f4141 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; -- 2.43.0