diff --git a/Program.cs b/Program.cs index 4b1d7f6..ea19381 100644 --- a/Program.cs +++ b/Program.cs @@ -787,7 +787,7 @@ sealed class SspiProxyAuthenticator : IDisposable inDescPtr, 0, out _ctx, - out outDesc, + ref outDesc, out attrs, out expiry); } @@ -803,7 +803,7 @@ sealed class SspiProxyAuthenticator : IDisposable inDescPtr, 0, out _ctx, - out outDesc, + ref outDesc, out attrs, out expiry); } @@ -888,7 +888,7 @@ sealed class SspiProxyAuthenticator : IDisposable IntPtr pInput, int Reserved2, out SecHandle phNewContext, - out SecBufferDesc pOutput, + ref SecBufferDesc pOutput, out uint pfContextAttr, out FILETIME ptsExpiry); @@ -903,7 +903,7 @@ sealed class SspiProxyAuthenticator : IDisposable IntPtr pInput, int Reserved2, out SecHandle phNewContext, - out SecBufferDesc pOutput, + ref SecBufferDesc pOutput, out uint pfContextAttr, out FILETIME ptsExpiry);