summaryrefslogtreecommitdiff
path: root/inc/phpseclib/Crypt_Hash.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-05-16 11:54:32 +0200
committerAndreas Gohr <andi@splitbrain.org>2015-05-16 11:54:32 +0200
commitdd0d7a4198ffaf4061d322de53ecd9a34eac3500 (patch)
tree9883d43081d67b8886c7076effa313cfec9ff7c0 /inc/phpseclib/Crypt_Hash.php
parentbff1a21bd9a53ef56d9603457bbb3b6178564791 (diff)
parent79eec18f7ad9126ba147cd13eb2a8d6ee41bf140 (diff)
downloadrpg-dd0d7a4198ffaf4061d322de53ecd9a34eac3500.tar.gz
rpg-dd0d7a4198ffaf4061d322de53ecd9a34eac3500.tar.bz2
Merge pull request #1154 from splitbrain/php7compatibility
Php7compatibility
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) {