]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix building with OpenSSL providers enabled 15416/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 10 Apr 2025 11:02:39 +0000 (13:02 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 10 Apr 2025 11:02:39 +0000 (13:02 +0200)
pdns/libssl.cc

index dd0863a808dcadbc38581927066221cd05708398..8b7b3e5de291b7e2b12df9c55eec8f63fb284d51 100644 (file)
@@ -203,7 +203,7 @@ std::pair<bool, std::string> 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<bool, std::string> libssl_load_engine([[maybe_unused]] const std::string& engineName, [[maybe_unused]] const std::optional<std::string>& defaultString)
 {
 #if defined(OPENSSL_NO_ENGINE)