From: Jeremy Harris Date: Tue, 7 Nov 2023 15:02:18 +0000 (+0000) Subject: OpenSSL: fix non-DANE build X-Git-Tag: exim-4.98-RC0~135 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/37b849dca4dfd855212a763662825e OpenSSL: fix non-DANE build --- diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index ef11de593..851ac77c5 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -2605,7 +2605,7 @@ if (!(bs = OCSP_response_get1_basic(rsp))) asking for certificate-status under DANE, so this callback won't run for that combination. It still will for non-DANE. */ -#ifdef EXIM_HAVE_OPENSSL_OCSP_RESP_GET0_SIGNER +#if defined(EXIM_HAVE_OPENSSL_OCSP_RESP_GET0_SIGNER) && defined(SUPPORT_DANE) X509 * signer; if ( tls_out.dane_verified