File tree Expand file tree Collapse file tree 8 files changed +27
-4
lines changed Expand file tree Collapse file tree 8 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 2626#include "msc_lua.h"
2727#endif
2828
29+ #ifdef APLOG_USE_MODULE
30+ APLOG_USE_MODULE (security2 );
31+ #endif
2932
3033/* -- Directory context creation and initialisation -- */
3134
Original file line number Diff line number Diff line change 1818#include "apache2.h"
1919#include "msc_crypt.h"
2020
21+ #ifdef APLOG_USE_MODULE
22+ APLOG_USE_MODULE (security2 );
23+ #endif
24+
2125/* -- Input filter -- */
2226
2327#if 0
Original file line number Diff line number Diff line change 1717#include "http_core.h"
1818#include "util_script.h"
1919
20+ #ifdef APLOG_USE_MODULE
21+ APLOG_USE_MODULE (security2 );
22+ #endif
23+
2024/**
2125 * Sends a brigade with an error bucket down the filter chain.
2226 */
Original file line number Diff line number Diff line change 4646#include <yajl/yajl_version.h>
4747#endif /* WITH_YAJL */
4848
49+ #ifdef APLOG_USE_MODULE
50+ APLOG_USE_MODULE (security2 );
51+ #endif
52+
4953/* ModSecurity structure */
5054
5155msc_engine DSOLOCAL * modsecurity = NULL ;
Original file line number Diff line number Diff line change 2727#include <curl/curl.h>
2828#endif
2929
30+ #ifdef APLOG_USE_MODULE
31+ APLOG_USE_MODULE (security2 );
32+ #endif
33+
3034unsigned long int DSOLOCAL unicode_codepage = 0 ;
3135
3236int DSOLOCAL * unicode_map_table = NULL ;
Original file line number Diff line number Diff line change @@ -145,9 +145,6 @@ extern DSOLOCAL char *real_server_signature;
145145extern DSOLOCAL char * chroot_dir ;
146146
147147extern module AP_MODULE_DECLARE_DATA security2_module ;
148- #ifdef APLOG_USE_MODULE
149- APLOG_USE_MODULE (security2 );
150- #endif
151148
152149extern DSOLOCAL const command_rec module_directives [];
153150
Original file line number Diff line number Diff line change 4545#include <sys/utsname.h>
4646#endif
4747
48+ #ifdef APLOG_USE_MODULE
49+ APLOG_USE_MODULE (security2 );
50+ #endif
51+
4852// Bese32 encode, based on:
4953// https://code.google.com/p/google-authenticator/source/browse/libpam/base32.c
5054int DSOLOCAL msc_status_engine_base32_encode (char * encoded ,
@@ -504,4 +508,3 @@ int msc_status_engine_call (void) {
504508
505509 return ret ;
506510}
507-
Original file line number Diff line number Diff line change 2020#include "msc_lua.h"
2121#endif
2222
23+ #ifdef APLOG_USE_MODULE
24+ APLOG_USE_MODULE (security2 );
25+ #endif
26+
2327static const char * const severities [] = {
2428 "EMERGENCY" ,
2529 "ALERT" ,
You can’t perform that action at this time.
0 commit comments