mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- did I not kill that already? (do not use rand_screen, pointless on server and not TS)
This commit is contained in:
parent
262492a187
commit
ccae79a2c3
1 changed files with 0 additions and 4 deletions
|
@ -4900,10 +4900,6 @@ PHP_FUNCTION(openssl_random_pseudo_bytes)
|
||||||
|
|
||||||
buffer = emalloc(buffer_length + 1);
|
buffer = emalloc(buffer_length + 1);
|
||||||
|
|
||||||
#ifdef WINDOWS
|
|
||||||
RAND_screen();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) {
|
if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) {
|
||||||
efree(buffer);
|
efree(buffer);
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue