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_AES.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/phpseclib/Crypt_AES.php') diff --git a/inc/phpseclib/Crypt_AES.php b/inc/phpseclib/Crypt_AES.php index 81fa2feab..f2df78351 100644 --- a/inc/phpseclib/Crypt_AES.php +++ b/inc/phpseclib/Crypt_AES.php @@ -164,9 +164,9 @@ class Crypt_AES extends Crypt_Rijndael { * @param optional Integer $mode * @access public */ - function Crypt_AES($mode = CRYPT_AES_MODE_CBC) + function __construct($mode = CRYPT_AES_MODE_CBC) { - parent::Crypt_Rijndael($mode); + parent::__construct($mode); } /** -- cgit v1.2.3