From bee37ec705aed76af164b556887c34fe6b9a1c7d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 22 Dec 2015 11:21:20 +0100 Subject: [PATCH] remove unused method --- pdns/dbdnsseckeeper.cc | 6 ------ pdns/dnsseckeeper.hh | 2 -- 2 files changed, 8 deletions(-) diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index c49df1de00..7df4afc4f5 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -431,12 +431,6 @@ DNSSECKeeper::keyset_t DNSSECKeeper::getKeys(const DNSName& zone, boost::tribool return retkeyset; } -bool DNSSECKeeper::secureZone(const DNSName& name, int algorithm, int size) -{ - clearCaches(name); // just to be sure ;) - return addKey(name, true, algorithm, size); -} - bool DNSSECKeeper::getPreRRSIGs(UeberBackend& db, const DNSName& signer, const DNSName& qname, const DNSName& wildcardname, const QType& qtype, DNSResourceRecord::Place signPlace, vector& rrsigs, uint32_t signTTL) diff --git a/pdns/dnsseckeeper.hh b/pdns/dnsseckeeper.hh index a702b58aac..d455de2062 100644 --- a/pdns/dnsseckeeper.hh +++ b/pdns/dnsseckeeper.hh @@ -79,8 +79,6 @@ public: bool activateKey(const DNSName& zname, unsigned int id); bool deactivateKey(const DNSName& zname, unsigned int id); - bool secureZone(const DNSName& fname, int algorithm, int size); - bool getNSEC3PARAM(const DNSName& zname, NSEC3PARAMRecordContent* n3p=0, bool* narrow=0); bool setNSEC3PARAM(const DNSName& zname, const NSEC3PARAMRecordContent& n3p, const bool& narrow=false); bool unsetNSEC3PARAM(const DNSName& zname); -- 2.47.2