From: Peter van Dijk Date: Thu, 21 Mar 2024 13:14:21 +0000 (+0100) Subject: longer variable name for clang-tidy X-Git-Tag: rec-5.1.0-alpha1~104^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55957040b7d39a8cf1ca8d40c94660994e95d9ca;p=thirdparty%2Fpdns.git longer variable name for clang-tidy --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 169ff9d7b7..98cbf55a8f 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -2031,7 +2031,7 @@ static int setZoneKind(const DNSName& zone, const DomainInfo::DomainKind kind) return EXIT_SUCCESS; } -static bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = false) // NOLINT(readability-function-cognitive-complexity) +static bool showZone(DNSSECKeeper& dnsseckeeper, const DNSName& zone, bool exportDS = false) // NOLINT(readability-function-cognitive-complexity) { UeberBackend B("default"); DomainInfo di; @@ -2081,7 +2081,7 @@ static bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = fals } } - if(!dk.isSecuredZone(zone)) { + if(!dnsseckeeper.isSecuredZone(zone)) { auto &outstream = (exportDS ? cerr : cout); outstream << "Zone is not actively secured" << endl; if (exportDS) { @@ -2093,9 +2093,9 @@ static bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = fals NSEC3PARAMRecordContent ns3pr; bool narrow = false; - bool haveNSEC3=dk.getNSEC3PARAM(zone, &ns3pr, &narrow); + bool haveNSEC3=dnsseckeeper.getNSEC3PARAM(zone, &ns3pr, &narrow); - DNSSECKeeper::keyset_t keyset=dk.getKeys(zone); + DNSSECKeeper::keyset_t keyset=dnsseckeeper.getKeys(zone); if (!exportDS) { std::vector meta; @@ -2124,7 +2124,7 @@ static bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = fals } - if (dk.isPresigned(zone)) { + if (dnsseckeeper.isPresigned(zone)) { if (!exportDS) { cout <<"Zone is presigned"<