#24440Improve the used random generators on *nix platforms
Description
t3lib_div::generateRandomBytes() tries to access /dev/urandom and if it fails, it plays itself with randomness.
For windows operating systems, besids COM, also mcrypt_create_iv() and openssl_random_pseudo_bytes() are checked for availability.
In case of a restrictive open_basedir setting, this causes TYPO3 to decrease performance by not using builtin functions.
The code block should IMHO just be moved out of the } elseif (TYPO3_OS == ‘WIN’) { clause.
(issue imported from #M16874)