mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-27 17:18:25 +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')
|
function Crypt_Hash($hash = 'sha1')
|
||||||
{
|
{
|
||||||
$this->__construct($mode);
|
$this->__construct($hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user