From 99a21278564d7a842e4029732847869fe2b5c68a Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 17 Nov 2016 20:54:38 -0600 Subject: [PATCH] Hash: fix E_NOTICE with PHP4-style constructor --- phpseclib/Crypt/Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php index ca421ace..faa17c57 100644 --- a/phpseclib/Crypt/Hash.php +++ b/phpseclib/Crypt/Hash.php @@ -178,7 +178,7 @@ class Crypt_Hash */ function Crypt_Hash($hash = 'sha1') { - $this->__construct($mode); + $this->__construct($hash); } /**