mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 08:27:10 +03:00
Refactoring on `utils.cc' and adjacents
Completely removed the `utils.cc' by moving residual functions into sub-classes of `utils/'
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/utils.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
@@ -96,7 +96,7 @@ int SqlHexDecode::inplace(unsigned char *data, int len) {
|
||||
}
|
||||
|
||||
while (VALID_HEX(data[0]) && VALID_HEX(data[1])) {
|
||||
*d++ = x2c(data);
|
||||
*d++ = modsecurity::utils::x2c(data);
|
||||
data += 2;
|
||||
count += 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user