diff options
| author | Ben Fuhrmannek | 2017-02-21 18:11:37 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2017-02-21 18:11:37 +0100 |
| commit | f24aa1084ee50d8e0e290b4e24b9dc236350cbe9 (patch) | |
| tree | d20d79ad283aa131974354bbfc01497210c2945b /session.c | |
| parent | 1a3fd5eeb9a5859aefedb9302adb6ecd6a1873a7 (diff) | |
PHP 7.1 compatibility - #16
Diffstat (limited to 'session.c')
| -rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -265,7 +265,7 @@ void suhosin_hook_session() | |||
| 265 | 265 | ||
| 266 | suhosin_hook_session_module(); | 266 | suhosin_hook_session_module(); |
| 267 | 267 | ||
| 268 | #if HAVE_DEV_URANDOM | 268 | #if HAVE_DEV_URANDOM && PHP_VERSION_ID < 70100 |
| 269 | /* increase session identifier entropy */ | 269 | /* increase session identifier entropy */ |
| 270 | if (SESSION_G(entropy_length) == 0 || SESSION_G(entropy_file) == NULL) { | 270 | if (SESSION_G(entropy_length) == 0 || SESSION_G(entropy_file) == NULL) { |
| 271 | SESSION_G(entropy_length) = 16; | 271 | SESSION_G(entropy_length) = 16; |
