summaryrefslogtreecommitdiff
path: root/csharp/src/IceSSL/TrustManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/IceSSL/TrustManager.cs')
-rw-r--r--csharp/src/IceSSL/TrustManager.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/csharp/src/IceSSL/TrustManager.cs b/csharp/src/IceSSL/TrustManager.cs
index 4d31702dbb1..b9cba557a25 100644
--- a/csharp/src/IceSSL/TrustManager.cs
+++ b/csharp/src/IceSSL/TrustManager.cs
@@ -130,9 +130,6 @@ namespace IceSSL
//
if(info.nativeCerts != null && info.nativeCerts.Length > 0)
{
-#if UNITY
- throw new Ice.FeatureNotSupportedException("certificate subjectName not available");
-#else
X500DistinguishedName subjectDN = info.nativeCerts[0].SubjectName;
string subjectName = subjectDN.Name;
Debug.Assert(subjectName != null);
@@ -218,7 +215,6 @@ namespace IceSSL
// At this point we accept the connection if there are no explicit accept rules.
//
return accept.Count == 0;
-#endif
}
return false;