summaryrefslogtreecommitdiff
path: root/execute.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-11-22 16:18:35 +0100
committerBen Fuhrmannek2014-11-22 16:18:35 +0100
commitb90ef35f1a9a5b3b5ced336d945ca35c235f2494 (patch)
tree67aac4cc6ae28f6a7120556ba7fba59118627e02 /execute.c
parenta69c64b2bc5756b14605ad39ffad69d09c0d578c (diff)
win32 fix from NewEraCracker
Diffstat (limited to '')
-rw-r--r--execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/execute.c b/execute.c
index ee8447e..d2034f6 100644
--- a/execute.c
+++ b/execute.c
@@ -1386,7 +1386,7 @@ static void suhosin_gen_entropy(php_uint32 *entropybuf TSRMLS_DC)
1386 } 1386 }
1387#else 1387#else
1388 /* we have to live with the possibility that this call fails */ 1388 /* we have to live with the possibility that this call fails */
1389 php_win32_get_random_bytes(rbuf, 8 * sizeof(php_uint32)); 1389 php_win32_get_random_bytes((unsigned char*)&seedbuf[6], 8 * sizeof(php_uint32));
1390#endif 1390#endif
1391 1391
1392 suhosin_SHA256Init(&context); 1392 suhosin_SHA256Init(&context);