Fixed ServerContext to store its final attributes.
This commit is contained in:
@@ -29,7 +29,6 @@ namespace NSspi.Contexts
|
|||||||
long newContextHandle = 0;
|
long newContextHandle = 0;
|
||||||
|
|
||||||
SecurityStatus status;
|
SecurityStatus status;
|
||||||
ContextAttrib outAttribs = ContextAttrib.Zero;
|
|
||||||
long expiry = 0;
|
long expiry = 0;
|
||||||
|
|
||||||
SecureBufferAdapter clientAdapter;
|
SecureBufferAdapter clientAdapter;
|
||||||
@@ -50,7 +49,7 @@ namespace NSspi.Contexts
|
|||||||
SecureBufferDataRep.Network,
|
SecureBufferDataRep.Network,
|
||||||
ref newContextHandle,
|
ref newContextHandle,
|
||||||
outAdapter.Handle,
|
outAdapter.Handle,
|
||||||
ref outAttribs,
|
ref this.finalAttribs,
|
||||||
ref expiry
|
ref expiry
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -64,7 +63,7 @@ namespace NSspi.Contexts
|
|||||||
SecureBufferDataRep.Network,
|
SecureBufferDataRep.Network,
|
||||||
ref newContextHandle,
|
ref newContextHandle,
|
||||||
outAdapter.Handle,
|
outAdapter.Handle,
|
||||||
ref outAttribs,
|
ref this.finalAttribs,
|
||||||
ref expiry
|
ref expiry
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user