summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2017-02-21 18:11:37 +0100
committerBen Fuhrmannek2017-02-21 18:11:37 +0100
commitf24aa1084ee50d8e0e290b4e24b9dc236350cbe9 (patch)
treed20d79ad283aa131974354bbfc01497210c2945b /session.c
parent1a3fd5eeb9a5859aefedb9302adb6ecd6a1873a7 (diff)
PHP 7.1 compatibility - #16
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index 2abe2ec..d401da4 100644
--- a/session.c
+++ b/session.c
@@ -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;