summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--csharp/test/IceSSL/configuration/AllTests.cs20
1 files changed, 16 insertions, 4 deletions
diff --git a/csharp/test/IceSSL/configuration/AllTests.cs b/csharp/test/IceSSL/configuration/AllTests.cs
index 0c4b7b0a634..184915dec11 100644
--- a/csharp/test/IceSSL/configuration/AllTests.cs
+++ b/csharp/test/IceSSL/configuration/AllTests.cs
@@ -587,8 +587,14 @@ public class AllTests
}
catch(Ice.LocalException ex)
{
- Console.WriteLine(ex.ToString());
- test(false);
+ //
+ // macOS catalina does not check the certificate common name
+ //
+ if(!IceInternal.AssemblyUtil.isMacOS)
+ {
+ Console.WriteLine(ex.ToString());
+ test(false);
+ }
}
fact.destroyServer(server);
comm.destroy();
@@ -774,8 +780,14 @@ public class AllTests
}
catch(Ice.SecurityException ex)
{
- Console.WriteLine(ex.ToString());
- test(false);
+ //
+ // macOS catalina does not check the certificate common name
+ //
+ if(!IceInternal.AssemblyUtil.isMacOS)
+ {
+ Console.WriteLine(ex.ToString());
+ test(false);
+ }
}
fact.destroyServer(server);
comm.destroy();