- did I not kill that already? (do not use rand_screen, pointless on server and not TS)

This commit is contained in:
Pierre Joye 2011-06-16 13:06:41 +00:00
parent 262492a187
commit ccae79a2c3

View file

@ -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;