X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ea22b399e05a726b22d8638f3e5393e99bb09f22..d9841333e40c16d12df8190527a0ceba233f4c93:/src/src/dane-openssl.c diff --git a/src/src/dane-openssl.c b/src/src/dane-openssl.c index bb927383f..97acccb5a 100644 --- 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;