mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-29 11:55:42 +00:00
- did I not kill that already? (do not use rand_screen, pointless on server and not TS)
This commit is contained in:
1 parent
c43276abd6
commit
3c8bd9ebb6
1 file changed
-4
@@ -4920,10 +4920,6 @@ PHP_FUNCTION(openssl_random_pseudo_bytes)
|
||||
|
||||
buffer = emalloc(buffer_length + 1);
|
||||
|
||||
#ifdef WINDOWS
|
||||
RAND_screen();
|
||||
#endif
|
||||
|
||||
if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) {
|
||||
efree(buffer);
|
||||
RETURN_FALSE;
|
||||
|
||||
Reference in new issue
Block a user