Skip to content

Commit 43241ef

Browse files
committed
modsecurity: remove support for the old version
1 parent 915936b commit 43241ef

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/ngx_http_modsecurity.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,7 @@
2424

2525
#include <modsecurity/modsecurity.h>
2626
#include <modsecurity/transaction.h>
27-
28-
29-
/* #define MSC_USE_RULES_SET 1 */
30-
31-
#if defined(MODSECURITY_CHECK_VERSION)
32-
#if MODSECURITY_VERSION_NUM >= 304010
33-
#define MSC_USE_RULES_SET 1
34-
#endif
35-
#endif
36-
37-
#if defined(MSC_USE_RULES_SET)
3827
#include <modsecurity/rules_set.h>
39-
#else
40-
#include <modsecurity/rules.h>
41-
#endif
4228

4329

4430
/**

0 commit comments

Comments
 (0)