diff options
| author | Ben Fuhrmannek | 2014-11-22 16:18:35 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-11-22 16:18:35 +0100 |
| commit | b90ef35f1a9a5b3b5ced336d945ca35c235f2494 (patch) | |
| tree | 67aac4cc6ae28f6a7120556ba7fba59118627e02 /execute.c | |
| parent | a69c64b2bc5756b14605ad39ffad69d09c0d578c (diff) | |
win32 fix from NewEraCracker
Diffstat (limited to '')
| -rw-r--r-- | execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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); |
