Adding TLS Alerts#11489
Conversation
|
@davidsh Thanks for catching that! Corrected above. |
| { | ||
| contextHandle = refContext._handle; | ||
| } | ||
| try |
There was a problem hiding this comment.
Nit: Please put a blank line here; I automatically read this as an "else" to the if.
There was a problem hiding this comment.
+1 (missed as the file was only renamed, probably with minimal changes)
There was a problem hiding this comment.
Ah, actually this is new code. Will correct.
| } | ||
|
|
||
| [Fact] | ||
| [PlatformSpecific(PlatformID.Windows)] |
There was a problem hiding this comment.
PlatformID has been renamed TestPlatforms. It would be good if it was updated here before merging. See #12284.
| } | ||
|
|
||
| [Fact] | ||
| [PlatformSpecific(PlatformID.Windows)] |
There was a problem hiding this comment.
PlatformID has been renamed TestPlatforms. It would be good if it was updated here before merging. See #12284.
| } | ||
|
|
||
| [Fact] | ||
| [PlatformSpecific(PlatformID.Windows)] |
There was a problem hiding this comment.
PlatformID has been renamed TestPlatforms. It would be good if it was updated here before merging. See #12284.
911a41b to
b3042ef
Compare
|
Test OuterLoop CentOS7.1 Debug Build and Test |
2c77d5d to
49b9eb8
Compare
| public override int Read(byte[] buffer, int offset, int count) { return default(int); } | ||
| public override long Seek(long offset, System.IO.SeekOrigin origin) { return default(long); } | ||
| public override void SetLength(long value) { } | ||
| public virtual System.Threading.Tasks.Task ShutdownAsync() { return default(System.Threading.Tasks.Task); } |
There was a problem hiding this comment.
This API needs to be added as .NET Core specific instead of as being part of netstandard. See #12311 as an example.
| @@ -31,29 +31,34 @@ | |||
| <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" /> | |||
There was a problem hiding this comment.
slightly orthogonal: The NugetTargetMoniker looks a strange here. It is netstandard1.3 for everything but unix where it is netstandard16. @ericstj are there any issues with this approach?
There was a problem hiding this comment.
I'm confused by this as well. This probably needs to be updated to netstandard1.7 anyway? (I see #11265 doing some of those changes.)
|
@CIPop , Is all thats left here to get it moved into netcoreapp1.2? |
|
@Petermarcu Yes, I believe most of the build issues are because of this contract having the wrong TFM. I need to read through the docs and figure out what needs to change to fix the following errors: |
…encies and tests.
After dotnet#11489 This error shows up after trying to consume the new packages. SslStreamAlertsTest.cs(81,30): error CS1061: 'SslStream' does not contain a definition for 'ShutdownAsync' and no extension method 'ShutdownAsync' accepting a first argument of type 'SslStream' could be found (are you missing a using directive or an assembly reference?) [D:\A\_work\55\s\corefx\src\System.Net.Security\tests\FunctionalTests\System.Net.Security.Tests.csproj] For now disabling these tests by conditioning them on netcoreapp1.1.
Adding TLS Alerts Commit migrated from dotnet/corefx@d9c476a
After dotnet/corefx#11489 This error shows up after trying to consume the new packages. SslStreamAlertsTest.cs(81,30): error CS1061: 'SslStream' does not contain a definition for 'ShutdownAsync' and no extension method 'ShutdownAsync' accepting a first argument of type 'SslStream' could be found (are you missing a using directive or an assembly reference?) [D:\A\_work\55\s\corefx\src\System.Net.Security\tests\FunctionalTests\System.Net.Security.Tests.csproj] For now disabling these tests by conditioning them on netcoreapp1.1. Commit migrated from dotnet/corefx@4f9f736
Adding TLS handshake and close_notify SslStream alert support.
New API needs review and is pending the investigation in #11265.
Fixes #8811
Addresses part of #3114.
@davidsh @bartonjs @stephentoub PTAL
/cc @weshaggard