From: Remi Gacogne Date: Thu, 10 Apr 2025 11:02:39 +0000 (+0200) Subject: dnsdist: Fix building with OpenSSL providers enabled X-Git-Tag: dnsdist-2.0.0-alpha2~87^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15416%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix building with OpenSSL providers enabled --- diff --git a/pdns/libssl.cc b/pdns/libssl.cc index dd0863a808..8b7b3e5de2 100644 --- a/pdns/libssl.cc +++ b/pdns/libssl.cc @@ -203,7 +203,7 @@ std::pair libssl_load_provider(const std::string& providerNam } #endif /* HAVE_LIBSSL && OPENSSL_VERSION_MAJOR >= 3 && HAVE_TLS_PROVIDERS */ -#if defined(HAVE_LIBSSL) && !HAVE_TLS_PROVIDERS +#if defined(HAVE_LIBSSL) && !defined(HAVE_TLS_PROVIDERS) std::pair libssl_load_engine([[maybe_unused]] const std::string& engineName, [[maybe_unused]] const std::optional& defaultString) { #if defined(OPENSSL_NO_ENGINE)