summaryrefslogtreecommitdiff
path: root/inc/phpseclib/Crypt_Hash.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/phpseclib/Crypt_Hash.php')
-rw-r--r--inc/phpseclib/Crypt_Hash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/phpseclib/Crypt_Hash.php b/inc/phpseclib/Crypt_Hash.php
index 840fcd508..61825d3c3 100644
--- a/inc/phpseclib/Crypt_Hash.php
+++ b/inc/phpseclib/Crypt_Hash.php
@@ -143,7 +143,7 @@ class Crypt_Hash {
* @return Crypt_Hash
* @access public
*/
- function Crypt_Hash($hash = 'sha1')
+ function __construct($hash = 'sha1')
{
if ( !defined('CRYPT_HASH_MODE') ) {
switch (true) {