mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 18:03:30 +08:00
libwinpr-sspi: fix SuppressExtendedProtection
This commit is contained in:
parent
9a6d405a54
commit
9eece31e19
@ -317,7 +317,7 @@ void ntlm_construct_authenticate_target_info(NTLM_CONTEXT* context)
|
||||
//AvPairsCount++; /* MsvAvRestrictions */
|
||||
//AvPairsValueLength += 48;
|
||||
|
||||
if (!context->SuppressExtendedProtection)
|
||||
if (context->SuppressExtendedProtection != FALSE)
|
||||
{
|
||||
AvPairsCount++; /* MsvChannelBindings */
|
||||
AvPairsValueLength += 16;
|
||||
@ -363,7 +363,7 @@ void ntlm_construct_authenticate_target_info(NTLM_CONTEXT* context)
|
||||
ntlm_av_pair_add(AuthenticateTargetInfo, MsvAvFlags, (PBYTE) &flags, 4);
|
||||
}
|
||||
|
||||
if (!context->SuppressExtendedProtection)
|
||||
if (context->SuppressExtendedProtection != FALSE)
|
||||
{
|
||||
BYTE ChannelBindingToken[16];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user