Comments.

This commit is contained in:
antiduh
2014-06-27 17:41:28 +00:00
parent cbaf311339
commit 55969a41f5

View File

@@ -92,6 +92,9 @@ namespace NSspi.Buffers
if ( disposing ) if ( disposing )
{ {
// When this class is actually being used for its original purpose - to convey buffers
// back and forth to SSPI calls - we need to copy the potentially modified structure members
// back to our caller's buffer.
for( int i = 0; i < this.buffers.Count; i++ ) for( int i = 0; i < this.buffers.Count; i++ )
{ {
this.buffers[i].Length = this.bufferCarrier[i].Count; this.buffers[i].Length = this.bufferCarrier[i].Count;