Skip to content

Commit ce1d605

Browse files
committed
Start project v4
1 parent 0fb4aff commit ce1d605

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ m4_define([msc_version_info],
3434

3535

3636
# Project Information
37-
AC_INIT([modsecurity], [3.0], [security@modsecurity.org])
37+
AC_INIT([modsecurity], [4.0], [security@modsecurity.org])
3838

3939

4040
# General definitions

headers/modsecurity/modsecurity.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,17 +188,17 @@ namespace modsecurity {
188188
*
189189
*/
190190

191-
#define MODSECURITY_MAJOR "3"
191+
#define MODSECURITY_MAJOR "4"
192192
#define MODSECURITY_MINOR "0"
193-
#define MODSECURITY_PATCHLEVEL "15"
193+
#define MODSECURITY_PATCHLEVEL "0"
194194
#define MODSECURITY_TAG ""
195-
#define MODSECURITY_TAG_NUM "100"
195+
#define MODSECURITY_TAG_NUM "0001"
196196

197197
#define MODSECURITY_VERSION MODSECURITY_MAJOR "." \
198198
MODSECURITY_MINOR "." MODSECURITY_PATCHLEVEL \
199199
MODSECURITY_TAG
200200

201-
#define MODSECURITY_VERSION_NUM 30150100
201+
#define MODSECURITY_VERSION_NUM 400000001
202202

203203
#define MODSECURITY_CHECK_VERSION(a) (MODSECURITY_VERSION_NUM <= a)
204204

test/test-cases/regression/variable-MODSEC_BUILD.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
]
3838
},
3939
"expected": {
40-
"debug_log": "Target value: \"03([0-9]+)\" \\(Variable: MODSEC_BUILD\\)",
40+
"debug_log": "Target value: \"04([0-9]+)\" \\(Variable: MODSEC_BUILD\\)",
4141
"http_code": 200
4242
},
4343
"rules": [

0 commit comments

Comments
 (0)