Crypt/Base: fix syntax errors

This commit is contained in:
terrafrost 2015-04-02 06:23:54 -05:00
parent d75f703c0a
commit a530152628

View File

@ -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 = '';