mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
HHVM does not like it when we call an non-existent parent constructor.
This commit is contained in:
parent
765154f54e
commit
b56c6a535e
@ -192,7 +192,7 @@ class Crypt_TripleDES extends Crypt_DES
|
|||||||
// In case of CRYPT_DES_MODE_3CBC, we init as CRYPT_DES_MODE_CBC
|
// In case of CRYPT_DES_MODE_3CBC, we init as CRYPT_DES_MODE_CBC
|
||||||
// and additional flag us internally as 3CBC
|
// and additional flag us internally as 3CBC
|
||||||
case CRYPT_DES_MODE_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->mode_3cbc = true;
|
||||||
|
|
||||||
// This three $des'es will do the 3CBC work (if $key > 64bits)
|
// This three $des'es will do the 3CBC work (if $key > 64bits)
|
||||||
@ -209,7 +209,7 @@ class Crypt_TripleDES extends Crypt_DES
|
|||||||
break;
|
break;
|
||||||
// If not 3CBC, we init as usual
|
// If not 3CBC, we init as usual
|
||||||
default:
|
default:
|
||||||
parent::Crypt_DES($mode);
|
parent::Crypt_Base($mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user