Skip to content

Commit

Permalink
omit value from SetSecureStringProperty logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau authored and awakecoding committed May 13, 2024
1 parent 8b49f03 commit 8576130
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dll/RdpSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ static HRESULT Hook_ITSPropertySet_SetSecureStringProperty(ITSPropertySet* This,
{
HRESULT hr;

char* propValueA = _com_util::ConvertBSTRToString((BSTR)propValue);
//char* propValueA = _com_util::ConvertBSTRToString((BSTR)propValue);
//MsRdpEx_LogPrint(TRACE, "ITSPropertySet::SetSecureStringProperty(%s, \"%s\")", propName, propValueA);

MsRdpEx_LogPrint(TRACE, "ITSPropertySet::SetSecureStringProperty(%s, \"%s\")", propName, propValueA);
MsRdpEx_LogPrint(TRACE, "ITSPropertySet::SetSecureStringProperty(%s, \"%s\")", propName, "*omitted*");

hr = Real_ITSPropertySet_SetSecureStringProperty(This, propName, propValue);

Expand Down

0 comments on commit 8576130

Please sign in to comment.