Adds md5 transformation

Replaced the old md5 implementation by the mbetls one.
This commit is contained in:
Felipe Zimmerle
2016-05-24 21:26:29 -03:00
parent bf4a9d7633
commit 7ccf54d330
9 changed files with 686 additions and 472 deletions

View File

@@ -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();
}