1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

SymmetricKey: CS update

This commit is contained in:
terrafrost 2022-07-23 09:39:33 -05:00
parent cd5a38ef3b
commit 33b8a299b5

View File

@ -3186,6 +3186,7 @@ abstract class SymmetricKey
default: default:
return '%s'; return '%s';
} }
// fall-through
default: default:
$safeint = '(is_int($temp = %s) ? $temp : (fmod($temp, 0x80000000) & 0x7FFFFFFF) | '; $safeint = '(is_int($temp = %s) ? $temp : (fmod($temp, 0x80000000) & 0x7FFFFFFF) | ';
return $safeint . '((fmod(floor($temp / 0x80000000), 2) & 1) << 31))'; return $safeint . '((fmod(floor($temp / 0x80000000), 2) & 1) << 31))';