diff options
author | Martin Baulig <martin.baulig@xamarin.com> | 2015-10-23 21:08:44 +0300 |
---|---|---|
committer | Martin Baulig <martin.baulig@xamarin.com> | 2015-10-23 21:20:46 +0300 |
commit | 9da940dd64c20215d21112299d5f0f68855b599b (patch) | |
tree | 0ab81feaee244e0e0e438f6a6c47b0a31556a2f6 /mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs | |
parent | f1315fad375d2f1369b467f076c78b4c50c7a9f4 (diff) |
[System]: Add internal 'Mono.Net.Security.NoReflectionHelper' class to avoid reflection use.
Diffstat (limited to 'mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs')
-rw-r--r-- | mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs b/mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs index 25d00096cde..18ada523b25 100644 --- a/mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs +++ b/mcs/class/Mono.Security/Mono.Security.Interface/CertificateValidationHelper.cs @@ -32,7 +32,7 @@ using System.Threading; using System.Security.Cryptography.X509Certificates; using Mono.Security.Protocol.Tls; using MX = Mono.Security.X509; -using MNS = Mono.Net.Security; +using Mono.Net.Security; namespace Mono.Security.Interface { @@ -119,7 +119,7 @@ namespace Mono.Security.Interface internal static ICertificateValidator GetDefaultValidator (MonoTlsSettings settings) { - return (ICertificateValidator)MNS.MonoTlsProviderFactory.GetDefaultCertificateValidator (settings); + return (ICertificateValidator)NoReflectionHelper.GetDefaultCertificateValidator (settings); } #if !INSIDE_SYSTEM |