1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-27 12:55:58 +01:00

Tests: CRYPT_MODE_* -> CRYPT_ENGINE_* in one more place

This commit is contained in:
terrafrost 2014-12-13 14:42:58 -06:00
parent 8d40eb22ef
commit b1fdbd6bbd

View File

@ -16,10 +16,10 @@ abstract class Unit_Crypt_AES_TestCase extends PhpseclibTestCase
if ($aes->getEngine() != $this->engine) {
$engine = 'internal';
switch ($this->engine) {
case CRYPT_MODE_OPENSSL:
case CRYPT_ENGINE_OPENSSL:
$engine = 'OpenSSL';
break;
case CRYPT_MODE_MCRYPT:
case CRYPT_ENGINE_MCRYPT:
$engine = 'mcrypt';
}
self::markTestSkipped('Unable to initialize ' . $engine . ' engine');