[msbuild] Remove TLSProvider option (#1238)

* AppleTLS is the default since C7 and support up to TLS 1.2.

* MonoTLS is limited to SSLv3 and TLSv1: both are being deprecated.

* Note: C9 release notes already mention MonoTLS is deprecated and that it will be removed in the future.
This commit is contained in:
Vincent Dondain 2016-12-08 11:56:44 -05:00 коммит произвёл GitHub
Родитель d99212a712
Коммит 9fe8dca4a8
6 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -47,9 +47,6 @@ namespace Xamarin.Mac.Tasks
[Required]
public string TargetFrameworkVersion { get; set; }
[Required]
public string TLSProvider { get; set; }
[Required]
public string SdkRoot { get; set; }
@ -150,9 +147,6 @@ namespace Xamarin.Mac.Tasks
}
}
if (TargetFrameworkIdentifier == "Xamarin.Mac" && !string.IsNullOrEmpty (TLSProvider))
args.Add (string.Format ("--tls-provider={0}", TLSProvider.ToLowerInvariant()));
if (Profiling)
args.Add ("/profiling");
@ -256,7 +250,6 @@ namespace Xamarin.Mac.Tasks
Log.LogTaskProperty ("SdkRoot", SdkRoot);
Log.LogTaskProperty ("TargetFrameworkIdentifier", TargetFrameworkIdentifier);
Log.LogTaskProperty ("TargetFrameworkVersion", TargetFrameworkVersion);
Log.LogTaskProperty ("TLSProvider", TLSProvider);
Log.LogTaskProperty ("UseXamMacFullFramework", UseXamMacFullFramework);
Log.LogTaskProperty ("Profiling", Profiling);
Log.LogTaskProperty ("AppManifest", AppManifest);

Просмотреть файл

@ -49,7 +49,6 @@ Copyright (C) 2013-2014 Xamarin. All rights reserved.
<I18n Condition="'$(I18n)' == ''"></I18n>
<IncludeMonoRuntime Condition="'$(IncludeMonoRuntime)' == ''">true</IncludeMonoRuntime>
<MonoBundlingExtraArgs Condition="'$(MonoBundlingExtraArgs)' == ''"></MonoBundlingExtraArgs>
<TlsProvider Condition="'$(TlsProvider)' == ''">Default</TlsProvider>
<LinkMode Condition="'$(LinkMode)' == ''">None</LinkMode>
<XamMacArch Condition="'$(XamMacArch)' == ''">x86_64</XamMacArch>
<MonoMacResourcePrefix Condition="'$(MonoMacResourcePrefix)' == ''">Resources</MonoMacResourcePrefix>

Просмотреть файл

@ -518,7 +518,6 @@ Copyright (C) 2014 Xamarin. All rights reserved.
LinkMode="$(LinkMode)"
Debug="$(DebugSymbols)"
HttpClientHandler="$(HttpClientHandler)"
TLSProvider="$(TlsProvider)"
I18n="$(I18n)"
Profiling="$(Profiling)"
ExtraArguments="$(MonoBundlingExtraArgs)"

Просмотреть файл

@ -148,9 +148,6 @@ namespace Xamarin.iOS.Tasks
[Required]
public string TargetFrameworkVersion { get; set; }
[Required]
public string TLSProvider { get; set; }
[Required]
public bool UseLlvm { get; set; }
@ -451,9 +448,6 @@ namespace Xamarin.iOS.Tasks
if (!string.IsNullOrEmpty (HttpClientHandler))
args.Add (string.Format ("--http-message-handler={0}", HttpClientHandler));
if (!string.IsNullOrEmpty (TLSProvider))
args.Add (string.Format ("--tls-provider={0}", TLSProvider.ToLowerInvariant()));
string thumb = UseThumb && UseLlvm ? "+thumb2" : "";
string llvm = UseLlvm ? "+llvm" : "";
string abi = "";
@ -665,7 +659,6 @@ namespace Xamarin.iOS.Tasks
Log.LogTaskProperty ("SdkVersion", SdkVersion);
Log.LogTaskProperty ("SymbolsList", SymbolsList);
Log.LogTaskProperty ("TargetFrameworkIdentifier", TargetFrameworkIdentifier);
Log.LogTaskProperty ("TLSProvider", TLSProvider);
Log.LogTaskProperty ("UseFloat32", UseFloat32);
Log.LogTaskProperty ("UseLlvm", UseLlvm);
Log.LogTaskProperty ("UseThumb", UseThumb);

Просмотреть файл

@ -40,7 +40,6 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
<MtouchEnableGenericValueTypeSharing Condition="'$(MtouchEnableGenericValueTypeSharing)' == ''">True</MtouchEnableGenericValueTypeSharing>
<MtouchFastDev Condition="'$(MtouchFastDev)' == ''">False</MtouchFastDev>
<MtouchHttpClientHandler Condition="'$(MtouchHttpClientHandler)' == ''">HttpClientHandler</MtouchHttpClientHandler>
<MtouchTlsProvider Condition="'$(MtouchTlsProvider)' == ''">Default</MtouchTlsProvider>
<MtouchProfiling Condition="'$(MtouchProfiling)' == ''">False</MtouchProfiling>
<MtouchLinkerDumpDependencies Condition="'$(MtouchLinkerDumpDependencies)' == ''">False</MtouchLinkerDumpDependencies>
<MtouchLink Condition="'$(MtouchLink)' == ''">SdkOnly</MtouchLink>

Просмотреть файл

@ -709,7 +709,6 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
ExtraArgs="$(MtouchExtraArgs)"
FastDev="$(MtouchFastDev)"
HttpClientHandler="$(MtouchHttpClientHandler)"
TLSProvider="$(MtouchTlsProvider)"
I18n="$(MtouchI18n)"
IntermediateOutputPath="$(DeviceSpecificIntermediateOutputPath)mtouch-cache"
IsAppExtension="$(IsAppExtension)"