mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 15:20:58 +00:00
Hash: fix E_NOTICE with PHP4-style constructor
This commit is contained in:
parent
b99345704a
commit
99a2127856
@ -178,7 +178,7 @@ class Crypt_Hash
|
||||
*/
|
||||
function Crypt_Hash($hash = 'sha1')
|
||||
{
|
||||
$this->__construct($mode);
|
||||
$this->__construct($hash);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user