From 8dbb8667f1d2b814e86b2bd032495de7c0f617c3 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 28 Aug 2022 11:03:15 -0500 Subject: [PATCH] fix bad merge --- phpseclib/Crypt/Blowfish.php | 2 +- phpseclib/Crypt/Twofish.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Crypt/Blowfish.php b/phpseclib/Crypt/Blowfish.php index eca53aae..78e6367e 100644 --- a/phpseclib/Crypt/Blowfish.php +++ b/phpseclib/Crypt/Blowfish.php @@ -397,7 +397,7 @@ class Blowfish extends Base * @param int $mode * @access public */ - function __construct($mode = CRYPT_MODE_CBC) + function __construct($mode = self::MODE_CBC) { parent::__construct($mode); diff --git a/phpseclib/Crypt/Twofish.php b/phpseclib/Crypt/Twofish.php index 458b871c..1c020481 100644 --- a/phpseclib/Crypt/Twofish.php +++ b/phpseclib/Crypt/Twofish.php @@ -392,7 +392,7 @@ class Twofish extends Base * @param int $mode * @access public */ - function __construct($mode = CRYPT_MODE_CBC) + function __construct($mode = self::MODE_CBC) { parent::__construct($mode);