Fixed return value for Utility::Match.

This commit is contained in:
Gunnar Beutner 2012-05-09 12:24:47 +02:00
parent 4cbf2400c0
commit 6f216e07ae
1 changed files with 1 additions and 1 deletions

View File

@ -141,5 +141,5 @@ shared_ptr<X509> Utility::GetX509Certificate(string pemfile)
bool Utility::Match(string pattern, string text)
{
return (match(pattern.c_str(), text.c_str()) != 0);
return (match(pattern.c_str(), text.c_str()) == 0);
}