From 117e6ec26677fa4799521978256ed7f573cb9d9f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 27 May 2017 08:30:12 +0100 Subject: fix wrong cert ip compare --- OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index da2b860..c00ac9b 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs @@ -295,7 +295,7 @@ namespace OpenSim.Framework.Servers.HttpServer { foreach(string ip in m_certIPs) { - if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) != 0) + if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) == 0) return true; } } -- cgit v1.1