[System]: Move MonoBtlsProvider.IsSupported() -> MonoTlsProviderFactory.IsBtlsSupport...
authorMartin Baulig <martin.baulig@xamarin.com>
Thu, 13 Oct 2016 14:26:40 +0000 (16:26 +0200)
committerMartin Baulig <martin.baulig@xamarin.com>
Thu, 13 Oct 2016 14:27:08 +0000 (16:27 +0200)
commit51099142761cf5fba1093e178583d5b44297ba37
tree88020b0ca6c23d3fea1fba734c7d2768d9bb6748
parent213499eb63a7473fe76321318229651880fbea49
[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)
mcs/class/Mono.Btls.Interface/Mono.Btls.Interface/BtlsProvider.cs
mcs/class/System/Mono.Btls/MonoBtlsProvider.cs
mcs/class/System/Mono.Net.Security/MonoTlsProviderFactory.Droid.cs
mcs/class/System/Mono.Net.Security/MonoTlsProviderFactory.cs
mcs/tools/btls/btls-cert-sync.cs
mono/metadata/icall-def.h
mono/metadata/icall.c