From c274370ed9bc3e48d3bed5feac4f0cc8d0ea9188 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 2 Apr 2015 06:50:55 -0500 Subject: [PATCH] another typo --- phpseclib/Crypt/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/Base.php b/phpseclib/Crypt/Base.php index c3fc28ed..12cd023c 100644 --- a/phpseclib/Crypt/Base.php +++ b/phpseclib/Crypt/Base.php @@ -2478,7 +2478,7 @@ abstract class Base $hash = $bytes; switch (true) { - case self::WHIRLPOOL_AVAILABLE: + case self::$WHIRLPOOL_AVAILABLE: foreach (str_split($bytes, 64) as $t) { $hash = hash('whirlpool', $hash, true); $result .= $t ^ $hash;