Add usage of the sequenceNumber and qualityOfProtection parameters, at least at the bottom layer. Upper layers don't right now, but we can change that later.
This commit is contained in:
@@ -204,9 +204,9 @@ namespace NSspi.Contexts
|
||||
{
|
||||
status = ContextNativeMethods.EncryptMessage(
|
||||
ref handle.rawHandle,
|
||||
0,
|
||||
qualityOfProtection,
|
||||
bufferAdapter.Handle,
|
||||
0
|
||||
sequenceNumber
|
||||
);
|
||||
|
||||
handle.DangerousRelease();
|
||||
@@ -247,8 +247,8 @@ namespace NSspi.Contexts
|
||||
status = ContextNativeMethods.DecryptMessage(
|
||||
ref handle.rawHandle,
|
||||
bufferAdapter.Handle,
|
||||
0,
|
||||
0
|
||||
sequenceNumber,
|
||||
qualityOfProtection
|
||||
);
|
||||
|
||||
handle.DangerousRelease();
|
||||
@@ -288,9 +288,9 @@ namespace NSspi.Contexts
|
||||
{
|
||||
status = ContextNativeMethods.MakeSignature(
|
||||
ref handle.rawHandle,
|
||||
0,
|
||||
qualityOfProtection,
|
||||
adapter.Handle,
|
||||
0
|
||||
sequenceNumber
|
||||
);
|
||||
|
||||
handle.DangerousRelease();
|
||||
@@ -331,8 +331,8 @@ namespace NSspi.Contexts
|
||||
status = ContextNativeMethods.VerifySignature(
|
||||
ref handle.rawHandle,
|
||||
adapter.Handle,
|
||||
0,
|
||||
0
|
||||
sequenceNumber,
|
||||
qualityOfProtection
|
||||
);
|
||||
|
||||
handle.DangerousRelease();
|
||||
|
||||
Reference in New Issue
Block a user