From b56c6a535ee08ba0c7898cb88b2ec360ddaa144f Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 16 Jun 2014 22:18:19 +0200 Subject: [PATCH] HHVM does not like it when we call an non-existent parent constructor. --- phpseclib/Crypt/TripleDES.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Crypt/TripleDES.php b/phpseclib/Crypt/TripleDES.php index 59c5f31a..77b1437a 100644 --- a/phpseclib/Crypt/TripleDES.php +++ b/phpseclib/Crypt/TripleDES.php @@ -192,7 +192,7 @@ class Crypt_TripleDES extends Crypt_DES // In case of CRYPT_DES_MODE_3CBC, we init as CRYPT_DES_MODE_CBC // and additional flag us internally as 3CBC case CRYPT_DES_MODE_3CBC: - parent::Crypt_DES(CRYPT_DES_MODE_CBC); + parent::Crypt_Base(CRYPT_DES_MODE_CBC); $this->mode_3cbc = true; // This three $des'es will do the 3CBC work (if $key > 64bits) @@ -209,7 +209,7 @@ class Crypt_TripleDES extends Crypt_DES break; // If not 3CBC, we init as usual default: - parent::Crypt_DES($mode); + parent::Crypt_Base($mode); } }