Skip to content

Commit

Permalink
Fixes regression in Integrated Security auth in Managed SNI
Browse files Browse the repository at this point in the history
  • Loading branch information
cheenamalhotra committed Oct 28, 2020
1 parent b48de5d commit 16c9509
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -96,7 +96,8 @@ internal void GenSspiClientContext(SspiClientContextStatus sspiClientContextStat
inSecurityBufferArray = Array.Empty<SecurityBuffer>();
}

int tokenSize = MaxTokenSize;
int tokenSize = NegotiateStreamPal.QueryMaxTokenSize(securityPackage);

SecurityBuffer outSecurityBuffer = new SecurityBuffer(tokenSize, SecurityBufferType.SECBUFFER_TOKEN);

ContextFlagsPal requestedContextFlags = ContextFlagsPal.Connection
Expand Down

0 comments on commit 16c9509

Please sign in to comment.