git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0f3ea
)
Pull in vdukhovni/ssl_dane 8270afba fix
author
Phil Pennock
<pdp@exim.org>
Sat, 25 Feb 2017 03:39:02 +0000
(22:39 -0500)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 25 Feb 2017 15:15:30 +0000
(15:15 +0000)
Negating an int and comparing to another int was a bug which we got
lucky on.
src/src/dane-openssl.c
patch
|
blob
|
history
diff --git
a/src/src/dane-openssl.c
b/src/src/dane-openssl.c
index bb927383fc879bd6a8288bba1c91467b313e5609..97acccb5ab9fa1e7395b60991edd6004ecd2902a 100644
(file)
--- a/
src/src/dane-openssl.c
+++ b/
src/src/dane-openssl.c
@@
-667,7
+667,7
@@
for (n = sk_X509_num(in); n > 0; --n, ++depth)
{
if (grow_chain(dane, UNTRUSTED, ca))
{
- if (
!X509_check_issued(ca, ca) =
= X509_V_OK)
+ if (
X509_check_issued(ca, ca) !
= X509_V_OK)
{
/* Restart with issuer as subject */
cert = ca;