N°1260 MySQL TLS connection : exception if the opened connection is not in TLS whereas TLS parameters were used to open it

SVN:trunk[5312]
This commit is contained in:
Pierre Goiffon
2018-02-08 14:21:58 +00:00
parent 5a2576bc29
commit b032299b05
3 changed files with 105 additions and 15 deletions

View File

@@ -534,8 +534,7 @@ if (class_exists('ZipArchive')) // The setup must be able to start even if the "
try
{
$oMysqli = CMDBSource::GetMysqliInstance($sServer, $sUser, $sPwd, $sSource, $sSSLKey, $sSSLCert,
$sSSLCA, sSSLCaPath,
$sSSLCipher);
$sSSLCA, $sSSLCaPath, $sSSLCipher, false);
if ($oMysqli->connect_errno)
{