1
0
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:
terrafrost 2014-08-14 11:27:27 -05:00
parent 4d72d1b48d
commit 7a1b1df600
2 changed files with 2 additions and 0 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}