Skip to content

[Security] Remove the SslCipherSuite enum from .NET. Fixes #11498. - #13307

Merged
rolfbjarne merged 1 commit into
dotnet:mainfrom
rolfbjarne:dotnet-remove-sslciphersuite
Nov 8, 2021
Merged

rolfbjarne merged 1 commit into
dotnet:mainfrom
rolfbjarne:dotnet-remove-sslciphersuite

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member
  • Remove the SslCipherSuite enum from .NET, it's complicated to implement
    correctly on macOS for both x64 and arm64, and it's also obsolete, so just
    remove it.
  • Change the type for NSUrlSessionTaskTransactionMetrics.NegotiatedTlsCipherSuite
    to be TlsCipherSuite instead of SslCipherSuite for .NET (this is in fact the
    correct value according to the headers).

Fixes #11498.

* Remove the SslCipherSuite enum from .NET, it's complicated to implement
  correctly on macOS for both x64 and arm64, and it's also obsolete, so just
  remove it.
* Change the type for NSUrlSessionTaskTransactionMetrics.NegotiatedTlsCipherSuite
  to be TlsCipherSuite instead of SslCipherSuite for .NET (this is in fact the
  correct value according to the headers).

Fixes dotnet#11498.
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

5 tests failed, 94 tests passed.

Failed tests

  • monotouch-test/Mac [dotnet]/Debug [dotnet]: Failed (Test run failed.
    Tests run: 2562 Passed: 2413 Inconclusive: 10 Failed: 1 Ignored: 148)
  • monotouch-test/Mac Catalyst [dotnet]/Debug [dotnet]: Failed (Tests run: 2727 Passed: 2500 Inconclusive: 35 Failed: 1 Ignored: 226)
  • xammac tests/Mac Modern/Debug: Failed (Test run failed.
    Tests run: 2568 Passed: 2423 Inconclusive: 10 Failed: 1 Ignored: 144)
  • xammac tests/Mac Modern/Release: Failed (Test run failed.
    Tests run: 2565 Passed: 2419 Inconclusive: 10 Failed: 1 Ignored: 145)
  • xammac tests/Mac Modern/Release (all optimizations): Failed (Test run failed.
    Tests run: 2565 Passed: 2418 Inconclusive: 10 Failed: 1 Ignored: 146)

Pipeline on Agent XAMBOT-1097.BigSur'
Merge c64658a into 3030195

@rolfbjarne

Copy link
Copy Markdown
Member Author

@rolfbjarne
rolfbjarne merged commit bbb7690 into dotnet:main Nov 8, 2021
@rolfbjarne
rolfbjarne deleted the dotnet-remove-sslciphersuite branch November 8, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SslCipherSuite size

3 participants