diff -urN ../exim-4.97.orig/src/tls-openssl.c ./src/tls-openssl.c --- ../exim-4.97.orig/src/tls-openssl.c 2023-11-04 14:55:49.000000000 +0200 +++ ./src/tls-openssl.c 2023-11-05 20:27:30.445630000 +0200 @@ -2606,6 +2606,7 @@ that combination. It still will for non-DANE. */ #ifdef EXIM_HAVE_OPENSSL_OCSP_RESP_GET0_SIGNER +#ifdef SUPPORT_DANE X509 * signer; if ( tls_out.dane_verified @@ -2617,6 +2618,7 @@ " shortcut its verification\n"); } else +#endif /*SUPPORT_DANE*/ #endif { STACK_OF(X509) * verified_chain;