[System]: Fully stub-out SslStream on platforms where it's not supported (#4802)
authorMartin Baulig <mabaul@microsoft.com>
Mon, 8 May 2017 16:12:08 +0000 (12:12 -0400)
committerGitHub <noreply@github.com>
Mon, 8 May 2017 16:12:08 +0000 (12:12 -0400)
commit141970828eb254b72b897aa0f12e926e9156a1ee
treed8dc0bafe652bc1af6479de0220dc66192cbe5a7
parent5e1d20ac48917f8e777f99524b5c1994431b2228
[System]: Fully stub-out SslStream on platforms where it's not supported (#4802)

* [System]: Fully stub-out SslStream on platforms where it's not supported.

* Remove 'SECURITY_DEP' conditional from LocalCertificateSelectionCallback.

* Add the internal delegates and remove 'SECURITY_DEP' from SslStream.platformnotsupported.cs.

* In SslStream.cs, we now provide the full API when '!SECURITY_DEP' using the
PlatformNotSupportedException()-based implementation from SslStream.platformnotsupported.cs

* Fix typo.
mcs/class/System/System.Net.Security/LocalCertificateSelectionCallback.cs
mcs/class/System/System.Net.Security/SslStream.cs
mcs/class/System/System.Net.Security/SslStream.platformnotsupported.cs