mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-30 04:39:21 +01: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