From: Willem Toorop Date: Thu, 25 Nov 2021 09:15:40 +0000 (+0100) Subject: Unused variable when configuring with --disable-dane-verify X-Git-Tag: 1.8.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91eb9dd2c8efac2991fe5f43abe7876e7e0ed37b;p=thirdparty%2Fldns.git Unused variable when configuring with --disable-dane-verify Thanks HÃ¥vard Eidnes --- 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;