From 90b70a6a6b4df267fea2724c7af37d93366a1fec Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Sun, 22 Jun 2014 20:39:52 -0400 Subject: [PATCH] Fix typo in last commit --- crypto/x509/x509_vfy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1