1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-30 04:39:02 +01:00

BigInteger: fix PHP 7.4 deprecations

This commit is contained in:
terrafrost 2019-08-03 08:58:51 -05:00
parent e473078703
commit 6ae67ef790

View File

@ -860,7 +860,7 @@ class Math_BigInteger
$opts[] = 'OpenSSL'; $opts[] = 'OpenSSL';
} }
if (!empty($opts)) { if (!empty($opts)) {
$engine.= ' (' . implode($opts, ', ') . ')'; $engine.= ' (' . implode('.', $opts) . ')';
} }
return array( return array(
'value' => '0x' . $this->toHex(true), 'value' => '0x' . $this->toHex(true),