mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01:00
AES: set CRYPT_RIJNDAEL_MODE as well in unit tests
This commit is contained in:
parent
4d72d1b48d
commit
7a1b1df600
@ -12,5 +12,6 @@ class Unit_Crypt_AES_InternalTest extends Unit_Crypt_AES_TestCase
|
||||
parent::setUpBeforeClass();
|
||||
|
||||
self::ensureConstant('CRYPT_AES_MODE', CRYPT_AES_MODE_INTERNAL);
|
||||
self::ensureConstant('CRYPT_RIJNDAEL_MODE', CRYPT_RIJNDAEL_MODE_INTERNAL);
|
||||
}
|
||||
}
|
||||
|
@ -12,5 +12,6 @@ class Unit_Crypt_AES_McryptTest extends Unit_Crypt_AES_TestCase
|
||||
parent::setUpBeforeClass();
|
||||
|
||||
self::ensureConstant('CRYPT_AES_MODE', CRYPT_AES_MODE_MCRYPT);
|
||||
self::ensureConstant('CRYPT_RIJNDAEL_MODE', CRYPT_RIJNDAEL_MODE_MCRYPT);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user