Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions winpr/libwinpr/sspi/NTLM/ntlm_av_pairs.c
Original file line number Diff line number Diff line change
@@ -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];

0 comments on commit 9eece31

Please sign in to comment.