summaryrefslogtreecommitdiff
path: root/src/snuffleupagus.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-09-16 12:43:11 +0200
committerBen Fuhrmannek2021-09-16 12:43:11 +0200
commita99c0b3ba7ebbd27fd62f2bde3963354c2bf55e3 (patch)
tree4890517eb3578b3ba015ae9e5c5f88e46f2a33ca /src/snuffleupagus.c
parent6e07cdb870513270a3c08abc7ecdca64ad2af400 (diff)
ported sid min/max restriction from suhosin
Diffstat (limited to 'src/snuffleupagus.c')
-rw-r--r--src/snuffleupagus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c
index 50711f0..84ab171 100644
--- a/src/snuffleupagus.c
+++ b/src/snuffleupagus.c
@@ -365,7 +365,7 @@ static PHP_INI_MH(OnUpdateConfiguration) {
365 hook_stream_wrappers(); 365 hook_stream_wrappers();
366 } 366 }
367 367
368 if (SNUFFLEUPAGUS_G(config).config_session->encrypt) { 368 if (SNUFFLEUPAGUS_G(config).config_session->encrypt || SNUFFLEUPAGUS_G(config).config_session->sid_min_length || SNUFFLEUPAGUS_G(config).config_session->sid_max_length) {
369 hook_session(); 369 hook_session();
370 } 370 }
371 371