summaryrefslogtreecommitdiff
path: root/inc/phpseclib/Crypt_Hash.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:33:59 +0200
committerChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:33:59 +0200
commite56e288689415ba069beb129a3ed9dccc404c0a3 (patch)
treeda27a0ddeea160ce92aca5d27e082a8a8a93b93c /inc/phpseclib/Crypt_Hash.php
parent45e8987e1f40331011f6c91dab7bff6cb34631ce (diff)
downloadrpg-e56e288689415ba069beb129a3ed9dccc404c0a3.tar.gz
rpg-e56e288689415ba069beb129a3ed9dccc404c0a3.tar.bz2
PHP7 Compat updates on the phpseclib
This is a quick fix in advance of the library being updated to the latest & PHP7 compatible version.
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) {