Commit Graph
11 Commits
Author SHA1 Message Date
Stephen Toub d3bec923b6 Enable System.Net.Security tests on OS X
Commit migrated from https://github.com/dotnet/corefx/commit/b75bcefbae1f1a650224869773fb2bff650dbced
2016-01-25 22:37:01 -05:00
dotnet-bot 8f7e954343 Porting NegotiateStream.
Commit migrated from https://github.com/dotnet/corefx/commit/9a414b0af4230b59a06dd9e255a36400582f482e
2016-01-08 16:51:31 -08:00
Cristian Pop 40dcf58810 Removing SSLv2 and SSLv3 support from System.Net.Security.
APIs will throw NotSupportedException if SSLv2 or v3 is used. This
behavior is different from .NET Desktop.
Tests have been changed to pin this new behavior.
Increased passing-test timeouts to 15s.

Fix dotnet/corefx#3114 (partial), dotnet/corefx#4467


Commit migrated from https://github.com/dotnet/corefx/commit/1f4deea8946d2e54dfd3c88e64c85bc3c3d9805c
2015-11-16 11:26:00 -08:00
stephentoub ab1f4c8fe8 Disable three System.Net.Security tests that repeatedly timeout
Commit migrated from https://github.com/dotnet/corefx/commit/59c9f299fba30a2ac3ca328d3013c70ca28bb1f5
2015-11-15 19:26:25 -05:00
Shruti Garg 0390074a73 Fixing System.Net.Security test failures in OS X
Commit migrated from https://github.com/dotnet/corefx/commit/15b2d692c05619da3350d5f0ed2a26002ea6c646
2015-11-06 17:39:48 +05:30
stephentoub 0bb85f778a Fix 43 of the 44 failing System.Net.Security tests on Linux
- System.Net.Sockets removed a bunch of APIs.  They're somehow still in the contracts, so compilation succeeds, but they're not implementation, so the tests fail when trying to use methods like TcpClient.Connect and various Begin/End methods.  I've changed these to use the appropriate Async methods.
- SslStream has a Debug.Fail which has been failing regularly, but it wasn't being noticed.  Now that Debug.Fail will throw an exception, the tests that were previously asserting are now failing.  I've temporarily commented out the Debug.Fail with a TODO comment.

One test is still failing:
```
System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Ssl2_Fails_Linux(server: Ssl2, client: Tls11, expected: typeof(System.Security.Authentication.AuthenticationException)) [FAIL]
      Assert.Throws() Failure
      Expected: typeof(System.Security.Authentication.AuthenticationException)
      Actual:   typeof(System.InvalidOperationException): EndAuthenticate can only be called once for each asynchronous operation.
      Stack Trace:
            at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
            at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
```


Commit migrated from https://github.com/dotnet/corefx/commit/c0aab82ea70453324f5e7d51902a0e1bb40db365
2015-11-04 21:31:26 -08:00
Shruti Garg 23247f146b Resolved review comments
Commit migrated from https://github.com/dotnet/corefx/commit/2503efd50ecff681887246f6f2de8a20c1e6469a
2015-11-02 14:42:35 +05:30
Shruti Garg 70d782ce24 Enabling System.Net.Security tests in Linux
Commit migrated from https://github.com/dotnet/corefx/commit/a450fde974f7ff4514505b5b953af6deadae51ff
2015-10-30 15:47:37 +05:30
Cristian Pop 02282010cd Adding original SSPI object model back to the Windows SslStream implementation.
Commit migrated from https://github.com/dotnet/corefx/commit/863ae5dfcc36b66a599c6b022a88b02046b0d8a4
2015-10-14 14:36:57 -07:00
Stephen A. Imhoff 9f6e31a883 Remove custom error checking from System.Net.Security, per dotnet/corefx#516 .
- Remove .nuget.props for test project.


Commit migrated from https://github.com/dotnet/corefx/commit/9d7a7bdb5b56c33e48da1986be02e6b63c6360ee
2015-10-03 10:26:18 +09:00
dotnet-bot 779ca6dd2b Porting System.Net.Security
Commit migrated from https://github.com/dotnet/corefx/commit/c74b6f24070a11eb347a43d7ac6de3304a50e789
2015-09-16 11:17:12 -07:00