From 91eb9dd2c8efac2991fe5f43abe7876e7e0ed37b Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Thu, 25 Nov 2021 10:15:40 +0100 Subject: [PATCH] Unused variable when configuring with --disable-dane-verify MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Thanks HÃ¥vard Eidnes --- examples/ldns-dane.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/ldns-dane.c b/examples/ldns-dane.c index 95bce4d3..58bdc2f7 100644 --- a/examples/ldns-dane.c +++ b/examples/ldns-dane.c @@ -1175,7 +1175,9 @@ main(int argc, char* const* argv) #if OPENSSL_VERSION_NUMBER >= 0x10100000 && ! defined(HAVE_LIBRESSL) size_t j, usable_tlsas = 0; +# ifdef USE_DANE_VERIFY X509_STORE_CTX *store_ctx = NULL; +# endif /* USE_DANE_VERIFY */ #endif /* OPENSSL_VERSION_NUMBER >= 0x10100000 */ bool print_tlsa_as_type52 = false; -- 2.47.3