Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin.baulig@xamarin.com>2016-10-13 17:26:40 +0300
committerMartin Baulig <martin.baulig@xamarin.com>2016-10-13 17:27:08 +0300
commit51099142761cf5fba1093e178583d5b44297ba37 (patch)
tree88020b0ca6c23d3fea1fba734c7d2768d9bb6748 /mcs/class/Mono.Btls.Interface
parent213499eb63a7473fe76321318229651880fbea49 (diff)
[System]: Move MonoBtlsProvider.IsSupported() -> MonoTlsProviderFactory.IsBtlsSupported() (#3760)
* [System]: Move MonoBtlsProvider.IsSupported() -> MonoTlsProviderFactory.IsBtlsSupported(). Move the intern-call which is used to determine whether we're using BTLS out of MonoBtlsProvider to allow the managed linker to eliminate the Mono.Btls.* classes when it's not supported. * Fix Android build. (cherry picked from commit 90699022b6fed7fd273ba3379a2e3696bbd8956f)
Diffstat (limited to 'mcs/class/Mono.Btls.Interface')
-rw-r--r--mcs/class/Mono.Btls.Interface/Mono.Btls.Interface/BtlsProvider.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/class/Mono.Btls.Interface/Mono.Btls.Interface/BtlsProvider.cs b/mcs/class/Mono.Btls.Interface/Mono.Btls.Interface/BtlsProvider.cs
index 6a8d8106253..0959dd0b612 100644
--- a/mcs/class/Mono.Btls.Interface/Mono.Btls.Interface/BtlsProvider.cs
+++ b/mcs/class/Mono.Btls.Interface/Mono.Btls.Interface/BtlsProvider.cs
@@ -26,6 +26,7 @@
using System;
using Mono.Security.Interface;
using System.Security.Cryptography.X509Certificates;
+using MNS = Mono.Net.Security;
namespace Mono.Btls.Interface
{
@@ -33,7 +34,7 @@ namespace Mono.Btls.Interface
{
public static bool IsSupported ()
{
- return MonoBtlsProvider.IsSupported ();
+ return MNS.MonoTlsProviderFactory.IsBtlsSupported ();
}
public static MonoTlsProvider GetProvider ()