Skip to content

Commit

Permalink
Make debugging cryptostream errors a bit easier
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Jul 28, 2017
1 parent 6d638da commit a0dad4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Implementation/CryptoStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function setUp()
try {
Registry::buildCipher(CipherEnum::CIPHER_AES_128(), ModeEnum::MODE_ECB(), new None, 'abcdabcdabcdabcd', 0, true);
} catch (\Exception $e) {
$this->markTestSkipped('No available AES implementation');
$this->markTestSkipped("Could not find a valid AES implementation: $e");
}
}

Expand Down

0 comments on commit a0dad4e

Please sign in to comment.