From e56e288689415ba069beb129a3ed9dccc404c0a3 Mon Sep 17 00:00:00 2001 From: Christopher Smith Date: Fri, 15 May 2015 19:33:59 +0200 Subject: PHP7 Compat updates on the phpseclib This is a quick fix in advance of the library being updated to the latest & PHP7 compatible version. --- inc/phpseclib/Crypt_Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/phpseclib/Crypt_Hash.php') 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) { -- cgit v1.2.3