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:
parent
8d40eb22ef
commit
b1fdbd6bbd
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user