summaryrefslogtreecommitdiff
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
commitccae79a2c35a3a36566f128cad7f81c3e249ab5a (patch)
treee0fa17d9530b49e8c937a8de3b236558e356289f
parent262492a18792cf77b26f3568b628bebe27fe8fe9 (diff)
downloadphp-git-ccae79a2c35a3a36566f128cad7f81c3e249ab5a.tar.gz
- did I not kill that already? (do not use rand_screen, pointless on server and not TS)
-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 c79d7c37be..bf77247b53 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -4900,10 +4900,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;