Fix typo in last commit

(cherry picked from commit 90b70a6a6b4df267fea2724c7af37d93366a1fec)
This commit is contained in:
Viktor Dukhovni 2014-06-22 20:39:52 -04:00 committed by Viktor Dukhovni
parent 449d864515
commit 9624b50d51

View File

@ -728,7 +728,7 @@ static int check_hosts(X509 *x, X509_VERIFY_PARAM_ID *id)
for (i = 0; i < n; ++i)
{
name = (unsigned char *)sk_OPENSSL_STRING_value(id->hosts, i);
if (X509_check_host(x, name, 0, id->hostflags)) > 0)
if (X509_check_host(x, name, 0, id->hostflags) > 0)
return 1;
}
return n == 0;