add better handling of SECBUFFER_EXTRA during TLS handshake on Windows (#42427)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Wed, 14 Oct 2020 18:17:12 +0000 (11:17 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Oct 2020 18:17:12 +0000 (14:17 -0400)
commit51f6b8bd3a2a38c432b1cd1f7c465c256f5f699c
treece0e225b86cb79e40c313d1d513555699f96e475
parenta109254d8afbb0c781fcefea0ef41e22bf42c5e2
add better handling of SECBUFFER_EXTRA during TLS handshake on Windows (#42427)

* add better handling of SECBUFFER_EXTRA during TLS handshake on Windows

* fix boundery check

* fix spelling
src/libraries/Common/src/Interop/Windows/SspiCli/SecuritySafeHandles.cs
src/libraries/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs