summaryrefslogtreecommitdiff
path: root/suhosin7.c
diff options
context:
space:
mode:
Diffstat (limited to 'suhosin7.c')
-rw-r--r--suhosin7.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/suhosin7.c b/suhosin7.c
index 7986f2a..6d6655a 100644
--- a/suhosin7.c
+++ b/suhosin7.c
@@ -377,13 +377,13 @@ PHP_INI_BEGIN()
377 // STD_S7_INI_ENTRY("suhosin.sql.union", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateSQLLong, sql_union) 377 // STD_S7_INI_ENTRY("suhosin.sql.union", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateSQLLong, sql_union)
378 378
379#ifdef HAVE_PHP_SESSION 379#ifdef HAVE_PHP_SESSION
380 // STD_S7_INI_BOOLEAN("suhosin.session.encrypt", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateMiscBool, session_encrypt) 380 STD_S7_INI_BOOLEAN("suhosin.session.encrypt", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateMiscBool, session_encrypt)
381 STD_S7_INI_ENTRY("suhosin.session.cryptkey", "", PHP_INI_ALL, OnUpdateMiscString, session_cryptkey) 381 STD_S7_INI_ENTRY("suhosin.session.cryptkey", "", PHP_INI_ALL, OnUpdateMiscString, session_cryptkey)
382 // STD_S7_INI_BOOLEAN("suhosin.session.cryptua", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateMiscBool, session_cryptua) 382 STD_S7_INI_BOOLEAN("suhosin.session.cryptua", "0", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateMiscBool, session_cryptua)
383 // STD_S7_INI_BOOLEAN("suhosin.session.cryptdocroot", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateMiscBool, session_cryptdocroot) 383 STD_S7_INI_BOOLEAN("suhosin.session.cryptdocroot", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateMiscBool, session_cryptdocroot)
384 // STD_S7_INI_ENTRY("suhosin.session.cryptraddr", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateMiscLong, session_cryptraddr) 384 STD_S7_INI_ENTRY("suhosin.session.cryptraddr", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateMiscLong, session_cryptraddr)
385 // STD_S7_INI_ENTRY("suhosin.session.checkraddr", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateMiscLong, session_checkraddr) 385 STD_S7_INI_ENTRY("suhosin.session.checkraddr", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateMiscLong, session_checkraddr)
386 // STD_S7_INI_ENTRY("suhosin.session.max_id_length", "128", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateMiscLong, session_max_id_length) 386 STD_S7_INI_ENTRY("suhosin.session.max_id_length", "128", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateMiscLong, session_max_id_length)
387#else /* HAVE_PHP_SESSION */ 387#else /* HAVE_PHP_SESSION */
388#warning BUILDING SUHOSIN WITHOUT SESSION SUPPORT. THIS IS A BAD IDEA! 388#warning BUILDING SUHOSIN WITHOUT SESSION SUPPORT. THIS IS A BAD IDEA!
389#ifndef SUHOSIN_WITHOUT_SESSION 389#ifndef SUHOSIN_WITHOUT_SESSION
@@ -518,9 +518,11 @@ PHP_MINIT_FUNCTION(suhosin7)
518 suhosin_hook_register_server_variables(); 518 suhosin_hook_register_server_variables();
519 suhosin_hook_header_handler(); 519 suhosin_hook_header_handler();
520 suhosin_hook_execute(); 520 suhosin_hook_execute();
521
522 suhosin_hook_memory_limit(); 521 suhosin_hook_memory_limit();
523 // suhosin_hook_sha256(); 522 // suhosin_hook_sha256();
523#ifdef HAVE_PHP_SESSION
524 suhosin_hook_session();
525#endif
524 526
525 return SUCCESS; 527 return SUCCESS;
526} 528}