summaryrefslogtreecommitdiff
path: root/inc/phpseclib/Crypt_Base.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_Base.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_Base.php')
-rw-r--r--inc/phpseclib/Crypt_Base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/phpseclib/Crypt_Base.php b/inc/phpseclib/Crypt_Base.php
index 7c650ca72..4fb9990c7 100644
--- a/inc/phpseclib/Crypt_Base.php
+++ b/inc/phpseclib/Crypt_Base.php
@@ -445,7 +445,7 @@ class Crypt_Base {
* @param optional Integer $mode
* @access public
*/
- function Crypt_Base($mode = CRYPT_MODE_CBC)
+ function __construct($mode = CRYPT_MODE_CBC)
{
$const_crypt_mode = 'CRYPT_' . $this->const_namespace . '_MODE';