1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00

BigInteger: do PHP64 w/ OpenSSL before BCMath w/ OpenSSL

This commit is contained in:
terrafrost 2023-07-09 08:51:55 -05:00
parent 249d17f921
commit 0740d58136

View File

@ -137,8 +137,8 @@ class BigInteger implements \JsonSerializable
if (!isset(self::$mainEngine)) {
$engines = [
['GMP'],
['BCMath', ['OpenSSL']],
['PHP64', ['OpenSSL']],
['BCMath', ['OpenSSL']],
['PHP32', ['OpenSSL']],
['PHP64', ['DefaultEngine']],
['PHP32', ['DefaultEngine']]