xmlrpc.inc: changed verifyhost from 1 to 2.
authorSamu Voutilainen <smar@smar.fi>
Thu, 22 May 2014 08:32:23 +0000 (11:32 +0300)
committerSamu Voutilainen <smar@smar.fi>
Thu, 22 May 2014 08:32:23 +0000 (11:32 +0300)
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
lib/xmlrpc.inc

index c4c793d..fa261c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        * removed deprecated xmlEntities\r
        * removed deprecated xmlrpc_backslash\r
        * converted $GLOBALS to internal class. This makes testing much easier and should be more flexible regarding other projects\r
+       * changed verifyhost from 1 to 2. This makes modern php versions work properly.\r
 \r
 2014-02-03 - G. Giunta (giunta.gaetano@gmail.com)\r
 \r
index 52a1104..64f4141 100644 (file)
@@ -814,7 +814,7 @@ class Xmlrpc {
                var $key='';\r
                var $keypass='';\r
                var $verifypeer=true;\r
-               var $verifyhost=1;\r
+               var $verifyhost=2;\r
                var $no_multicall=false;\r
                var $proxy='';\r
                var $proxyport=0;\r