mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Merge pull request #3071 from owasp-modsecurity/revert-2963-v2/mst/debug_conf
Revert " Fix for DEBUG_CONF compile flag"
This commit is contained in:
@@ -637,10 +637,7 @@ static char *msre_generate_target_string(apr_pool_t *pool, msre_rule *rule) {
|
|||||||
/**
|
/**
|
||||||
* Generate an action string from an actionset.
|
* Generate an action string from an actionset.
|
||||||
*/
|
*/
|
||||||
#ifndef DEBUG_CONF
|
static char *msre_actionset_generate_action_string(apr_pool_t *pool, const msre_actionset *actionset) {
|
||||||
static
|
|
||||||
#endif
|
|
||||||
char *msre_actionset_generate_action_string(apr_pool_t *pool, const msre_actionset *actionset) {
|
|
||||||
const apr_array_header_t *tarr = NULL;
|
const apr_array_header_t *tarr = NULL;
|
||||||
const apr_table_entry_t *telts = NULL;
|
const apr_table_entry_t *telts = NULL;
|
||||||
char *actions = NULL;
|
char *actions = NULL;
|
||||||
|
@@ -75,10 +75,6 @@ int DSOLOCAL rule_id_in_range(int ruleid, const char *range);
|
|||||||
msre_var DSOLOCAL *generate_single_var(modsec_rec *msr, msre_var *var, apr_array_header_t *tfn_arr,
|
msre_var DSOLOCAL *generate_single_var(modsec_rec *msr, msre_var *var, apr_array_header_t *tfn_arr,
|
||||||
msre_rule *rule, apr_pool_t *mptmp);
|
msre_rule *rule, apr_pool_t *mptmp);
|
||||||
|
|
||||||
#ifdef DEBUG_CONF
|
|
||||||
char DSOLOCAL* msre_actionset_generate_action_string(apr_pool_t* pool, const msre_actionset* actionset);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(WITH_LUA)
|
#if defined(WITH_LUA)
|
||||||
apr_table_t DSOLOCAL *generate_multi_var(modsec_rec *msr, msre_var *var, apr_array_header_t *tfn_arr,
|
apr_table_t DSOLOCAL *generate_multi_var(modsec_rec *msr, msre_var *var, apr_array_header_t *tfn_arr,
|
||||||
msre_rule *rule, apr_pool_t *mptmp);
|
msre_rule *rule, apr_pool_t *mptmp);
|
||||||
|
Reference in New Issue
Block a user