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:
90b70a6
)
One more typo when changing !result to result <= 0
author
Viktor Dukhovni
<viktor@twosigma.com>
Mon, 23 Jun 2014 17:06:24 +0000
(13:06 -0400)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 23 Jun 2014 15:26:34 +0000
(16:26 +0100)
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index e588b38f9a8d104c5112c322e02e00394d334c77..b0e1dc036a0cba942dc1b20fc15f2bd6b41e498a 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-763,7
+763,7
@@
static int check_id(X509_STORE_CTX *ctx)
X509_VERIFY_PARAM *vpm = ctx->param;
X509_VERIFY_PARAM_ID *id = vpm->id;
X509 *x = ctx->cert;
- if (id->hosts &&
!
check_hosts(x, id) <= 0)
+ if (id->hosts && check_hosts(x, id) <= 0)
{
if (!check_id_error(ctx, X509_V_ERR_HOSTNAME_MISMATCH))
return 0;