diff options
| -rw-r--r-- | Changelog | 4 | ||||
| -rw-r--r-- | config.m4 | 2 | ||||
| -rw-r--r-- | config.w32 | 5 | ||||
| -rw-r--r-- | php_suhosin.h | 3 | ||||
| -rw-r--r-- | suhosin.c | 1 |
5 files changed, 7 insertions, 8 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-01-11 - 0.9.33-dev | ||
| 2 | |||
| 3 | - Removed crypt() support - because not used for PHP >= 5.3.0 anyway | ||
| 4 | |||
| 1 | 2010-07-23 - 0.9.32.1 | 5 | 2010-07-23 - 0.9.32.1 |
| 2 | 6 | ||
| 3 | - Fixed missing header file resulting in compile errors | 7 | - Fixed missing header file resulting in compile errors |
| @@ -5,5 +5,5 @@ PHP_ARG_ENABLE(suhosin, whether to enable suhosin support, | |||
| 5 | [ --enable-suhosin Enable suhosin support]) | 5 | [ --enable-suhosin Enable suhosin support]) |
| 6 | 6 | ||
| 7 | if test "$PHP_SUHOSIN" != "no"; then | 7 | if test "$PHP_SUHOSIN" != "no"; then |
| 8 | PHP_NEW_EXTENSION(suhosin, suhosin.c crypt.c crypt_blowfish.c sha256.c memory_limit.c treat_data.c ifilter.c post_handler.c ufilter.c rfc1867.c log.c header.c execute.c ex_imp.c session.c aes.c compat_snprintf.c, $ext_shared) | 8 | PHP_NEW_EXTENSION(suhosin, suhosin.c sha256.c memory_limit.c treat_data.c ifilter.c post_handler.c ufilter.c rfc1867.c log.c header.c execute.c ex_imp.c session.c aes.c compat_snprintf.c, $ext_shared) |
| 9 | fi | 9 | fi |
| @@ -4,8 +4,5 @@ | |||
| 4 | ARG_ENABLE("suhosin", "whether to enable suhosin support", "yes"); | 4 | ARG_ENABLE("suhosin", "whether to enable suhosin support", "yes"); |
| 5 | 5 | ||
| 6 | if (PHP_SUHOSIN == "yes") { | 6 | if (PHP_SUHOSIN == "yes") { |
| 7 | EXTENSION("suhosin", "suhosin.c crypt.c crypt_blowfish.c sha256.c memory_limit.c treat_data.c ifilter.c post_handler.c ufilter.c rfc1867.c log.c header.c execute.c ex_imp.c session.c aes.c"); | 7 | EXTENSION("suhosin", "suhosin.c sha256.c memory_limit.c treat_data.c ifilter.c post_handler.c ufilter.c rfc1867.c log.c header.c execute.c ex_imp.c session.c aes.c"); |
| 8 | if (PHP_SUHOSIN_SHARED) { | ||
| 9 | ADD_SOURCES(configure_module_dirname, "crypt_win32.c crypt_md5.c", "suhosin"); | ||
| 10 | } | ||
| 11 | } | 8 | } |
diff --git a/php_suhosin.h b/php_suhosin.h index 312bb08..071d57f 100644 --- a/php_suhosin.h +++ b/php_suhosin.h | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #ifndef PHP_SUHOSIN_H | 22 | #ifndef PHP_SUHOSIN_H |
| 23 | #define PHP_SUHOSIN_H | 23 | #define PHP_SUHOSIN_H |
| 24 | 24 | ||
| 25 | #define SUHOSIN_EXT_VERSION "0.9.32.1" | 25 | #define SUHOSIN_EXT_VERSION "0.9.33-dev" |
| 26 | 26 | ||
| 27 | /*#define SUHOSIN_DEBUG*/ | 27 | /*#define SUHOSIN_DEBUG*/ |
| 28 | #define SUHOSIN_LOG "/tmp/suhosin_log.txt" | 28 | #define SUHOSIN_LOG "/tmp/suhosin_log.txt" |
| @@ -312,7 +312,6 @@ void suhosin_hook_header_handler(); | |||
| 312 | void suhosin_unhook_header_handler(); | 312 | void suhosin_unhook_header_handler(); |
| 313 | void suhosin_hook_session(TSRMLS_D); | 313 | void suhosin_hook_session(TSRMLS_D); |
| 314 | void suhosin_unhook_session(TSRMLS_D); | 314 | void suhosin_unhook_session(TSRMLS_D); |
| 315 | void suhosin_hook_crypt(); | ||
| 316 | void suhosin_hook_sha256(); | 315 | void suhosin_hook_sha256(); |
| 317 | void suhosin_hook_ex_imp(); | 316 | void suhosin_hook_ex_imp(); |
| 318 | void suhosin_hook_treat_data(); | 317 | void suhosin_hook_treat_data(); |
| @@ -1068,7 +1068,6 @@ PHP_MINIT_FUNCTION(suhosin) | |||
| 1068 | 1068 | ||
| 1069 | /* now hook a bunch of stuff */ | 1069 | /* now hook a bunch of stuff */ |
| 1070 | suhosin_hook_memory_limit(); | 1070 | suhosin_hook_memory_limit(); |
| 1071 | suhosin_hook_crypt(); | ||
| 1072 | suhosin_hook_sha256(); | 1071 | suhosin_hook_sha256(); |
| 1073 | suhosin_hook_ex_imp(); | 1072 | suhosin_hook_ex_imp(); |
| 1074 | 1073 | ||
