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:
9624b50
)
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
Viktor Dukhovni
<ietf-dane@dukhovni.org>
Mon, 7 Jul 2014 09:19:13 +0000
(19:19 +1000)
(cherry picked from commit
eef1827f89ebb82d3bcb5391fa15e05061bab4b2
)
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index 4dac6ff3e78a096f0f494a2b6bd89121951acba8..32dd135846dfd8ea1bdcf86647bdb31b4e67055e 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-739,7
+739,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;