projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abffa4
)
Fix typo in last commit
author
Viktor Dukhovni
<openssl-users@dukhovni.org>
Mon, 23 Jun 2014 00:39:52 +0000
(20:39 -0400)
committer
Viktor Dukhovni
<openssl-users@dukhovni.org>
Mon, 23 Jun 2014 00:39:52 +0000
(20:39 -0400)
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index 49425f4622d15a222f784458587dfdf66a146f0f..e588b38f9a8d104c5112c322e02e00394d334c77 100644
(file)
--- 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;