From: Viktor Dukhovni Date: Mon, 23 Jun 2014 00:39:52 +0000 (-0400) Subject: Fix typo in last commit X-Git-Tag: OpenSSL_1_0_2-beta2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9624b50d51de25bb2e3a72e81fe45032d80ea5c2;p=openssl Fix typo in last commit (cherry picked from commit 90b70a6a6b4df267fea2724c7af37d93366a1fec) --- diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index af1a8454df..4dac6ff3e7 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -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;