Changed: use hash_hmac() instead of MailSo\Base\Utils::Hmac()

Renamed: PrepearFetchSequence() to PrepareFetchSequence()
Removed: StripSlashesValue() because PHP7 has no magic_quotes_gpc
This commit is contained in:
djmaze 2020-03-18 01:26:40 +01:00
parent 23e9964997
commit 9bb44e7f98
7 changed files with 19 additions and 128 deletions

View file

@ -210,7 +210,7 @@ class ImapClient extends \MailSo\Net\NetClient
$sTicket = @\base64_decode($oContinuationResponse->ResponseList[1]);
$this->oLogger->Write('ticket: '.$sTicket);
$sToken = \base64_encode($sLogin.' '.\MailSo\Base\Utils::Hmac($sTicket, $sPassword));
$sToken = \base64_encode($sLogin.' '.\hash_hmac('md5', $sTicket, $sPassword));
if ($this->oLogger)
{