strip sensitive information from logs
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// dllmain.cpp : Defines the entry point for the DLL application.
|
||||
#include "pch.h"
|
||||
#include "ANSUtilities.h"
|
||||
#include "Utility.h"
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <unordered_map>
|
||||
@@ -697,7 +698,7 @@ extern "C" ANSULT_API int AESEncryption(const char* inputString, const char* in
|
||||
}
|
||||
extern "C" ANSULT_API int MD5HashFile(const char* filePath, LStrHandle decryptionMessage)
|
||||
{
|
||||
ANS_DBG("ANSUTIL","MD5HashFile: filePath=%s", filePath ? filePath : "(null)");
|
||||
ANS_DBG("ANSUTIL","MD5HashFile: filePath=%s", filePath ? path_to_filename(std::string(filePath)).c_str() : "(null)");
|
||||
if (filePath == nullptr || decryptionMessage == nullptr) return 0;
|
||||
try {
|
||||
std::string st = ANSCENTER::ANSUtilities::MD5HashFile(filePath);
|
||||
|
||||
Reference in New Issue
Block a user