From: Viktor Dukhovni Date: Mon, 23 Jun 2014 00:39:52 +0000 (-0400) Subject: Fix typo in last commit X-Git-Tag: master-post-reformat~674 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90b70a6a6b4df267fea2724c7af37d93366a1fec;p=oweals%2Fopenssl.git Fix typo in last commit --- 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;