summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-01-23 19:12:37 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-01-23 19:12:37 +0000
commit5c75db2e32e06f3fc526b5d231af743453f0508a (patch)
tree0a4c4745608123ea69d3a3d56ba196a9c10c1910
parenta8cf7791a92833e6f67b30db13148aa441215fd4 (diff)
downloadexim4-5c75db2e32e06f3fc526b5d231af743453f0508a.tar.gz
Fix build with OpenSSL, EXPERIMENTAL_DANE and DISABLE_EVENT
-rw-r--r--src/src/tls-openssl.c2
1 files changed, 1 insertions, 1 deletions
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