aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2017-05-27 08:30:12 +0100
committerUbitUmarov2017-05-27 08:30:12 +0100
commit117e6ec26677fa4799521978256ed7f573cb9d9f (patch)
tree8a84e34d7c4316e2f0cc8f5ec340e730fbc9f5f7
parentops no (diff)
downloadopensim-SC-117e6ec26677fa4799521978256ed7f573cb9d9f.zip
opensim-SC-117e6ec26677fa4799521978256ed7f573cb9d9f.tar.gz
opensim-SC-117e6ec26677fa4799521978256ed7f573cb9d9f.tar.bz2
opensim-SC-117e6ec26677fa4799521978256ed7f573cb9d9f.tar.xz
fix wrong cert ip compare
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs2
1 files changed, 1 insertions, 1 deletions
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
295 { 295 {
296 foreach(string ip in m_certIPs) 296 foreach(string ip in m_certIPs)
297 { 297 {
298 if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) != 0) 298 if (String.Compare(hostname, ip, true, CultureInfo.InvariantCulture) == 0)
299 return true; 299 return true;
300 } 300 }
301 } 301 }