mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Move APLOG_USE_MODULE out of modsecurity.h
This commit is contained in:
parent
3bd5836fef
commit
b5130acb45
@ -26,6 +26,9 @@
|
||||
#include "msc_lua.h"
|
||||
#endif
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
/* -- Directory context creation and initialisation -- */
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
||||
#include "apache2.h"
|
||||
#include "msc_crypt.h"
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
/* -- Input filter -- */
|
||||
|
||||
#if 0
|
||||
|
@ -17,6 +17,10 @@
|
||||
#include "http_core.h"
|
||||
#include "util_script.h"
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Sends a brigade with an error bucket down the filter chain.
|
||||
*/
|
||||
|
@ -46,6 +46,10 @@
|
||||
#include <yajl/yajl_version.h>
|
||||
#endif /* WITH_YAJL */
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
/* ModSecurity structure */
|
||||
|
||||
msc_engine DSOLOCAL *modsecurity = NULL;
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include <curl/curl.h>
|
||||
#endif
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
unsigned long int DSOLOCAL unicode_codepage = 0;
|
||||
|
||||
int DSOLOCAL *unicode_map_table = NULL;
|
||||
|
@ -145,9 +145,6 @@ extern DSOLOCAL char *real_server_signature;
|
||||
extern DSOLOCAL char *chroot_dir;
|
||||
|
||||
extern module AP_MODULE_DECLARE_DATA security2_module;
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
extern DSOLOCAL const command_rec module_directives[];
|
||||
|
||||
|
@ -45,6 +45,10 @@
|
||||
#include <sys/utsname.h>
|
||||
#endif
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
// Bese32 encode, based on:
|
||||
// https://code.google.com/p/google-authenticator/source/browse/libpam/base32.c
|
||||
int DSOLOCAL msc_status_engine_base32_encode(char *encoded,
|
||||
@ -504,4 +508,3 @@ failed_beacon_string_malloc:
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "msc_lua.h"
|
||||
#endif
|
||||
|
||||
#ifdef APLOG_USE_MODULE
|
||||
APLOG_USE_MODULE(security2);
|
||||
#endif
|
||||
|
||||
static const char *const severities[] = {
|
||||
"EMERGENCY",
|
||||
"ALERT",
|
||||
|
Loading…
x
Reference in New Issue
Block a user