From f24aa1084ee50d8e0e290b4e24b9dc236350cbe9 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 21 Feb 2017 18:11:37 +0100 Subject: PHP 7.1 compatibility - #16 --- session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'session.c') 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() suhosin_hook_session_module(); -#if HAVE_DEV_URANDOM +#if HAVE_DEV_URANDOM && PHP_VERSION_ID < 70100 /* increase session identifier entropy */ if (SESSION_G(entropy_length) == 0 || SESSION_G(entropy_file) == NULL) { SESSION_G(entropy_length) = 16; -- cgit v1.3