summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2014-06-22 20:39:52 -0400
committerViktor Dukhovni <openssl-users@dukhovni.org>2014-06-22 20:39:52 -0400
commit90b70a6a6b4df267fea2724c7af37d93366a1fec (patch)
tree85c568a947e395a3372682178e7b3603c8cc3ee7 /crypto/x509
parent8abffa4a73fcbf6536e0a42d736ed9211a8204ea (diff)
Fix typo in last commit
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index 49425f4622..e588b38f9a 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -752,7 +752,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;