mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-28 15:19:02 +00:00
Merge branch '2.0' into 3.0
This commit is contained in:
commit
4d62a8ad16
@ -668,11 +668,13 @@ abstract class SymmetricKey
|
|||||||
switch (true) {
|
switch (true) {
|
||||||
// PHP_OS & "\xDF\xDF\xDF" == strtoupper(substr(PHP_OS, 0, 3)), but a lot faster
|
// PHP_OS & "\xDF\xDF\xDF" == strtoupper(substr(PHP_OS, 0, 3)), but a lot faster
|
||||||
case (PHP_OS & "\xDF\xDF\xDF") === 'WIN':
|
case (PHP_OS & "\xDF\xDF\xDF") === 'WIN':
|
||||||
case !(is_string(php_uname('m')) && (php_uname('m') & "\xDF\xDF\xDF") == 'ARM'):
|
case !function_exists('php_uname'):
|
||||||
|
case !is_string(php_uname('m')):
|
||||||
|
case (php_uname('m') & "\xDF\xDF\xDF") != 'ARM':
|
||||||
case defined('PHP_INT_SIZE') && PHP_INT_SIZE == 8:
|
case defined('PHP_INT_SIZE') && PHP_INT_SIZE == 8:
|
||||||
self::$use_reg_intval = true;
|
self::$use_reg_intval = true;
|
||||||
break;
|
break;
|
||||||
case is_string(php_uname('m')) && (php_uname('m') & "\xDF\xDF\xDF") == 'ARM':
|
case (php_uname('m') & "\xDF\xDF\xDF") == 'ARM':
|
||||||
switch (true) {
|
switch (true) {
|
||||||
/* PHP 7.0.0 introduced a bug that affected 32-bit ARM processors:
|
/* PHP 7.0.0 introduced a bug that affected 32-bit ARM processors:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user