Issue Task Closed

#87396Checks for CRYPT_MD5 and CRYPT_BLOWFISH availability are obsolete

Stefanos Karasavvidis 01/11/19, 09:37 updated 05/07/19, 12:13

Description

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 in unit tests, the check for the availability of those 2 are not necessary in files

typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Md5PasswordHashTest.php
typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BlowfishPasswordHashTest.php

Reviews 2