From: Peter van Dijk Date: Tue, 22 Dec 2015 10:21:20 +0000 (+0100) Subject: remove unused method X-Git-Tag: dnsdist-1.0.0-alpha1~22^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bee37ec705aed76af164b556887c34fe6b9a1c7d;p=pdns remove unused method --- diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index c49df1de0..7df4afc4f 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 a702b58aa..d455de206 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);