fix wrong cert ip compare

httptests
UbitUmarov 2017-05-27 08:30:12 +01:00
parent 6609965f6e
commit 117e6ec266
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}