From 5c75db2e32e06f3fc526b5d231af743453f0508a Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 23 Jan 2017 19:12:37 +0000 Subject: [PATCH] Fix build with OpenSSL, EXPERIMENTAL_DANE and DISABLE_EVENT --- src/src/tls-openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1