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) { if ($aes->getEngine() != $this->engine) {
$engine = 'internal'; $engine = 'internal';
switch ($this->engine) { switch ($this->engine) {
case CRYPT_MODE_OPENSSL: case CRYPT_ENGINE_OPENSSL:
$engine = 'OpenSSL'; $engine = 'OpenSSL';
break; break;
case CRYPT_MODE_MCRYPT: case CRYPT_ENGINE_MCRYPT:
$engine = 'mcrypt'; $engine = 'mcrypt';
} }
self::markTestSkipped('Unable to initialize ' . $engine . ' engine'); self::markTestSkipped('Unable to initialize ' . $engine . ' engine');