improve Ssl3 detection (dotnet/corefx#35574)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Tue, 26 Feb 2019 07:02:20 +0000 (23:02 -0800)
committerGitHub <noreply@github.com>
Tue, 26 Feb 2019 07:02:20 +0000 (23:02 -0800)
commit19fc9cb9ed0dac6d020ef7d93419fb8bd4ece6d8
treee380754f902d265ffcfb7a1df1df9dac9db09d21
parente2765675c680a4a17aa8bef244b60857514681d2
improve Ssl3 detection (dotnet/corefx#35574)

* improve sslv3 detection

* updates to pass all tests

* correct catch

Commit migrated from https://github.com/dotnet/corefx/commit/0fa22d4b6753c47b6139980255e932341353179e
src/libraries/Common/tests/System/Net/SslProtocolSupport.cs
src/libraries/CoreFx.Private.TestUtilities/ref/CoreFx.Private.TestUtilities.cs
src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Unix.cs
src/libraries/CoreFx.Private.TestUtilities/src/System/PlatformDetection.Windows.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.SslProtocols.cs