]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix test-signers: if there's no ref to OpenSSL it fails
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 9 Oct 2025 08:47:47 +0000 (10:47 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 9 Oct 2025 09:48:25 +0000 (11:48 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/dnssec.hh
pdns/dnsseckeeper.hh
pdns/recursordist/Makefile.am
pdns/recursordist/dnsseckeeper.hh [deleted symlink]
pdns/test-signers.cc

index 2387f0ab6978a5555b67a5a6ff5bbeb5d1722310..eba36af35292244a8b6c9a71904364f7d663bd8e 100644 (file)
@@ -27,7 +27,6 @@
 class DNSSEC
 {
 public:
-
   enum keytype_t : uint8_t
   {
     KSK,
index 311dca74d7ac8bfaeea561ef69e21463044b4ae0..117cb03f6363ccf88e4d18a38b8007cf0c1ce082 100644 (file)
@@ -40,7 +40,6 @@ using namespace ::boost::multi_index;
 class DNSSECKeeper : public DNSSEC
 {
 public:
-  DNSSECKeeper(const DNSSECKeeper&) = delete;
 
   struct KeyMetaData
   {
@@ -75,6 +74,9 @@ public:
       delete d_keymetadb;
   }
 
+  DNSSECKeeper(const DNSSECKeeper&) = delete;
+  DNSSECKeeper operator=(const DNSSECKeeper&) = delete;
+
   static uint64_t dbdnssecCacheSizes(const std::string& str);
   static void clearAllCaches();
   static bool clearKeyCache(const ZoneName& name);
index 8b896cb067263c549b6fb1750d171ddb8ce884c5..8020f7869fe251b87e3d4c754482d039ccec939c 100644 (file)
@@ -232,7 +232,6 @@ pdns_recursor_SOURCES = \
        tcpiohandler.cc tcpiohandler.hh \
        threadname.hh threadname.cc \
        tsigverifier.cc tsigverifier.hh \
-       ueberbackend.hh \
        unix_utility.cc \
        utility.hh \
        uuid-utils.hh uuid-utils.cc \
diff --git a/pdns/recursordist/dnsseckeeper.hh b/pdns/recursordist/dnsseckeeper.hh
deleted file mode 120000 (symlink)
index 20aa801..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../dnsseckeeper.hh
\ No newline at end of file
index 33b274ddc3f5ba33b579c7baaf7342ba8d77cfb5..7fee63402c30d8adb2267fc5b5801e4d63f7a21e 100644 (file)
 #include "dnssecinfra.hh"
 #include "misc.hh"
 
-#include <cstdio>
+// Include below is essential, otherwise we get failures I do not understand, maybe some runtime
+// value does not get initialized?
+#include <openssl/sha.h>
+
 #include <unordered_map>
 
 // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables): Boost stuff.