mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Adds md5 transformation
Replaced the old md5 implementation by the mbetls one.
This commit is contained in:
@@ -128,17 +128,17 @@ bool Parallel::write(Transaction *transaction, int parts) {
|
||||
|
||||
if (log1.is_open() && log2.is_open()) {
|
||||
log2 << transaction->toOldAuditLogFormatIndex(fileName, log.length(),
|
||||
md5(log));
|
||||
Utils::Md5::hexdigest(log));
|
||||
log2.flush();
|
||||
}
|
||||
if (log1.is_open() && !log2.is_open()) {
|
||||
log1 << transaction->toOldAuditLogFormatIndex(fileName, log.length(),
|
||||
md5(log));
|
||||
Utils::Md5::hexdigest(log));
|
||||
log1.flush();
|
||||
}
|
||||
if (!log1.is_open() && log2.is_open()) {
|
||||
log2 << transaction->toOldAuditLogFormatIndex(fileName, log.length(),
|
||||
md5(log));
|
||||
Utils::Md5::hexdigest(log));
|
||||
log2.flush();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user