Discrete output of credentials to event log centralized

This commit is contained in:
2016-10-25 13:37:39 +02:00
parent 04af17121c
commit d87b3d37e5
6 changed files with 57 additions and 20 deletions

View File

@@ -118,8 +118,7 @@ void eap::credentials_eaphost::load(_In_ IXMLDOMNode *pConfigRoot)
if (FAILED(hr = eapxml::get_element_base64(pConfigRoot, bstr(L"eap-metadata:Credentials"), m_cred_blob)))
throw com_runtime_error(hr, __FUNCTION__ " Error reading <Credentials> element.");
// TODO: Finish log output!
//m_module.log_config((xpath + L"/Credentials").c_str(), get_name().c_str());
m_module.log_config_discrete((xpath + L"/Credentials").c_str(), m_cred_blob.data(), (ULONG)m_cred_blob.size());
}

View File

@@ -24,6 +24,7 @@
#include "../include/Credentials.h"
#include "../include/Method.h"
#include <WinStd/Cred.h>
#include <WinStd/Win.h>
#include <Windows.h>