Skip to content

Commit 92cb296

Browse files
monojenkinsakoeplinger
authored andcommitted
[2019-10] Remove the Legacy TLS Provider. (#17425)
* Remove the Legacy TLS Provider. * `MonoTlsProviderFactory` now treats "legacy" as an alias for "default". * `Mono.Net.Security/LegacySslStream`: Removed. This class also wasn't using the `MobileAuthenticatedStream` base class, thus preventing cleanups simplifications in that area. * `Mono.Net.Security/LegacyTlsProvider`: Removed. * `Mono.Security/Mono.Security.Protocol.Tls*`: Removed all the old legacy code. * `Mono.Security.Interface.MonoTlsProviderFactory`: Bump internal version to 4. * [csproj] Update project files * Bump API snapshot submodule
1 parent 57660b7 commit 92cb296

File tree

91 files changed

+46
-12430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+46
-12430
lines changed

mcs/build/profiles/wasm.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ NO_CONSOLE = yes
4444
NO_MULTIPLE_APPDOMAINS = yes
4545
NO_THREAD_ABORT = yes
4646
NO_THREAD_SUSPEND_RESUME = yes
47+
PROFILE_DISABLE_BTLS = yes
4748
WASM = yes

mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,10 @@ public static IMonoSslStream GetMonoSslStream (HttpListenerContext context)
183183
* - 1: everything up until May 2018
184184
* - 2: the new ServicePointScheduler changes have landed
185185
* - 3: full support for Client Certificates
186+
* - 4: Legacy TLS Removal
186187
*
187188
*/
188-
internal const int InternalVersion = 3;
189+
internal const int InternalVersion = 4;
189190

190191
#endregion
191192
}

mcs/class/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs

Lines changed: 0 additions & 149 deletions
This file was deleted.

mcs/class/Mono.Security/Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs

Lines changed: 0 additions & 220 deletions
This file was deleted.

0 commit comments

Comments
 (0)