Skip to content

Commit

Permalink
[TASK] Remove checks for CRYPT_MD5 and CRYPT_BLOWFISH availability
Browse files Browse the repository at this point in the history
According to crypt() documentation "As of PHP 5.3.0, PHP contains its
own implementation and will use that if the system lacks of support
for one or more of the algorithms.". So these checks are not
necessary anymore.

Resolves: #87396
Releases: master, 9.5
Change-Id: I6ddede477283a39349e4c4d8d5f464435c855b85
Reviewed-on: https://review.typo3.org/59399
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
  • Loading branch information
heisenbol authored and georgringer committed Jan 11, 2019
1 parent d19ec27 commit faa53b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Expand Up @@ -23,16 +23,6 @@
*/
class BlowfishPasswordHashTest extends UnitTestCase
{
/**
* Sets up the fixtures for this testcase.
*/
protected function setUp()
{
if (!CRYPT_BLOWFISH) {
$this->markTestSkipped('Blowfish is not supported on your platform.');
}
}

/**
* @test
*/
Expand Down
Expand Up @@ -23,16 +23,6 @@
*/
class Md5PasswordHashTest extends UnitTestCase
{
/**
* Sets up the fixtures for this testcase.
*/
protected function setUp()
{
if (!CRYPT_MD5) {
$this->markTestSkipped('Blowfish is not supported on your platform.');
}
}

/**
* @test
*/
Expand Down

0 comments on commit faa53b8

Please sign in to comment.