fixing comment
check if we need to fix the comment https://github.com/shrutigarg/corefx/commit/f047a7d53ae699e51b8ee631e80d72cde4b6139b#commitcomment-16019127
@bartonjs, this a "framing" that is required by MS-NNS data So it has to be at the beginning of the buffer. Note that output was allocated in the Encrypt call
@vijaykota Ah, yes, I'd failed to notice that output wasn't a user-provided array. A comment reminding future readers/refactorers that offset and count apply to reading from buffer, and were inputs to the length of output, that output is a newly created array and thus these absolute indices are correct would be helpful.
Though perhaps significantly less of a run-on sentence than my statement here :).
In securityStatusAdapterPal.Windows. Use the dictionary instead of struct array.
https://github.com/dotnet/corefx/pull/5772#discussion_r52742447
(fixed already)
is notSet flag check needed? https://github.com/dotnet/corefx/pull/5772#discussion_r52743232
(fixed already)
https://github.com/dotnet/corefx/pull/5772#discussion_r52743275 Need to throw more accurate exception in syn with other exception in code.
fixed all the issued here and moved one (changing internalException to some other exception) to dotnet/runtime#16195 as this was present when windows code introduced.. since InternalException is being used at so many other place, we would have to look at other instances too/
Reactivating this issue because this is still referenced from code: https://github.com/dotnet/corefx/blob/d0dc5fc099946adc1035b34a8b1f6042eddb0c75/src/System.Net.Security/src/System/Net/NegotiateStreamPal.Windows.cs#L315
@CIPop we would have to remove the TODO from there as this has already been discussed and fixed. Looks like it remained there by mistake, will incorporate this in one of our next PR.
this will be fixed in PR dotnet/corefx#7647
dotnet/corefx#7647 has not been merged; reopening this issue until that happens.
this got fixed and merged , closing.