1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

yet another typo in unit test

This commit is contained in:
terrafrost 2015-04-02 07:07:58 -05:00
parent c42d8382dd
commit 46d22b962d

View File

@ -93,8 +93,8 @@ class Unit_Crypt_RC2Test extends PhpseclibTestCase
self::markTestSkipped('Unable to initialize mcrypt engine');
}
$rc2->setPreferredEngine(self::ENGINE_OPENSSL);
if ($rc2->getEngine() == self::ENGINE_OPENSSL) {
$rc2->setPreferredEngine(Base::ENGINE_OPENSSL);
if ($rc2->getEngine() == Base::ENGINE_OPENSSL) {
$openssl = $rc2->encrypt('d');
$this->assertEquals($result, $openssl, 'Failed asserting that the OpenSSL engine produced the correct result');
} else {