summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-06-16 13:06:41 +0000
committerPierre Joye <pajoye@php.net>2011-06-16 13:06:41 +0000
commit104cd28e95a311371189e8791d52c0c693d14ff6 (patch)
tree4a44be0522311b5a105d2d80f6353fecbe8fad1f /ext/openssl
parent25849ab96739af4664a339ca81db57abc6154daf (diff)
downloadphp-git-104cd28e95a311371189e8791d52c0c693d14ff6.tar.gz
- did I not kill that already? (do not use rand_screen, pointless on server and not TS)
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/openssl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index 0c61b5a254..a36a523bff 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -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;