[System]: Move MonoBtlsProvider.IsSupported() -> MonoTlsProviderFactory.IsBtlsSupport...
commit90699022b6fed7fd273ba3379a2e3696bbd8956f
authorMartin Baulig <martin.baulig@xamarin.com>
Thu, 13 Oct 2016 14:26:40 +0000 (13 16:26 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Oct 2016 14:26:40 +0000 (13 16:26 +0200)
tree21c860e5aa2f620e621632d6463a5c083573cc02
parentf07d3d7f1d397d9734b7ca3ac0734f8b72271ca5
[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.
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