From: Pieter Lexis Date: Tue, 28 Jan 2020 13:25:53 +0000 (+0100) Subject: Remove the algo 5 -> 7 upgrade X-Git-Tag: auth-4.3.0-beta1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8754%2Fhead;p=thirdparty%2Fpdns.git Remove the algo 5 -> 7 upgrade Closes #3267 --- diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index 5f97bec6d2..a3bd4ac45c 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -164,10 +164,6 @@ DNSSECPrivateKey DNSSECKeeper::getKeyById(const DNSName& zname, unsigned int id) dpk.d_flags = kd.flags; dpk.d_algorithm = dkrc.d_algorithm; - if(dpk.d_algorithm == DNSSECKeeper::RSASHA1 && getNSEC3PARAM(zname)) { - dpk.d_algorithm = DNSSECKeeper::RSASHA1NSEC3SHA1; - } - return dpk; } throw runtime_error("Can't find a key with id "+std::to_string(id)+" for zone '"+zname.toLogString()+"'"); @@ -520,10 +516,6 @@ DNSSECKeeper::keyset_t DNSSECKeeper::getKeys(const DNSName& zone, bool useCache) dpk.d_flags = kd.flags; dpk.d_algorithm = dkrc.d_algorithm; - if(dpk.d_algorithm == DNSSECKeeper::RSASHA1 && getNSEC3PARAM(zone)) { - g_log<(DNSCryptoKeyEngine::makeFromISCString(dkrc, kd.content)); if(dkrc.d_algorithm == DNSSECKeeper::RSASHA1) { - cout<<"[Warning] zone '"<