[BUGFIX] Always use MCRYPT_DEV_URANDOM if using mcrypt 58/40258/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 15 Jun 2015 14:00:27 +0000 (16:00 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 16 Jun 2015 18:09:52 +0000 (20:09 +0200)
commitd4ee83ca8864b2183cdf4f856e9ec176262c566f
tree92f16b1d36e0defda99e131cd6fd8b8c16616321
parent4eff8986590b15f2e956a41668e3878ecee8d168
[BUGFIX] Always use MCRYPT_DEV_URANDOM if using mcrypt

Using MCRYPT_RAND was introduced because of a bug in PHP versions lower
than 5.3.7 on Windows in combination with IIS.

Since we require higher PHP versions in all maintained versions we can
remove this workaround and use MCRYPT_DEV_URANDOM again. By doing so we
fix a bug on Windows caused by not enough randomness.

Releases: 6.2, master
Resolves: #53034
Change-Id: Ibe74eb0277934e9300ffd9b00cc89a5f8bb008fb
Reviewed-on: http://review.typo3.org/40258
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Utility/GeneralUtility.php