From: Jeremy Harris Date: Mon, 23 Jan 2017 19:12:37 +0000 (+0000) Subject: Fix build with OpenSSL, EXPERIMENTAL_DANE and DISABLE_EVENT X-Git-Tag: exim-4_89_RC1~26 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5c75db2e32e06f3fc526b5d231af743453f0508a;p=exim.git Fix build with OpenSSL, EXPERIMENTAL_DANE and DISABLE_EVENT --- diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 5a7e92a25..e6b256e16 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -526,8 +526,8 @@ verify_callback_client_dane(int preverify_ok, X509_STORE_CTX * x509ctx) { X509 * cert = X509_STORE_CTX_get_current_cert(x509ctx); uschar dn[256]; -#ifndef DISABLE_EVENT int depth = X509_STORE_CTX_get_error_depth(x509ctx); +#ifndef DISABLE_EVENT BOOL dummy_called, optional = FALSE; #endif