Skip to content

Commit

Permalink
use rom.empty
Browse files Browse the repository at this point in the history
  • Loading branch information
twsouthwick committed Apr 8, 2024
1 parent 0728145 commit fae4882
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ internal void TdsLogin(
// byte[] buffer and 0 for the int length.
Debug.Assert(SniContext.Snix_Login == _physicalStateObj.SniContext, $"Unexpected SniContext. Expecting Snix_Login, actual value is '{_physicalStateObj.SniContext}'");
_physicalStateObj.SniContext = SniContext.Snix_LoginSspi;
_authenticationProvider.SSPIData(Array.Empty<byte>(), ref outSSPIBuff, ref outSSPILength, _sniSpnBuffer);
_authenticationProvider.SSPIData(ReadOnlyMemory<byte>.Empty, ref outSSPIBuff, ref outSSPILength, _sniSpnBuffer);

if (outSSPILength > int.MaxValue)
{
Expand Down

0 comments on commit fae4882

Please sign in to comment.