mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-12 09:09:39 +01:00
Crypt/Base: fix syntax errors
This commit is contained in:
parent
d75f703c0a
commit
a530152628
@ -97,7 +97,7 @@ abstract class Base
|
|||||||
* @var Boolean
|
* @var Boolean
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
public static WHIRLPOOL_AVAILABLE;
|
static $WHIRLPOOL_AVAILABLE;
|
||||||
|
|
||||||
/**#@+
|
/**#@+
|
||||||
* @access private
|
* @access private
|
||||||
@ -2470,8 +2470,8 @@ abstract class Base
|
|||||||
*/
|
*/
|
||||||
function _hashInlineCryptFunction($bytes)
|
function _hashInlineCryptFunction($bytes)
|
||||||
{
|
{
|
||||||
if (!isset(self::WHIRLPOOL_AVAILABLE)) {
|
if (!isset(self::$WHIRLPOOL_AVAILABLE)) {
|
||||||
self::WHIRLPOOL_AVAILABLE = extension_loaded('hash') && in_array('whirlpool', hash_algos());
|
self::$WHIRLPOOL_AVAILABLE = extension_loaded('hash') && in_array('whirlpool', hash_algos());
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = '';
|
$result = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user