From: Peter van Dijk Date: Thu, 9 May 2019 13:10:19 +0000 (+0200) Subject: show DS for second and further keys too; fixes #7667 X-Git-Tag: rec-4.2.0-rc1~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7801%2Fhead;p=thirdparty%2Fpdns.git show DS for second and further keys too; fixes #7667 --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 30af9d11b2..5abce3b4db 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1585,7 +1585,6 @@ bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = false) sort(keys.begin(),keys.end()); reverse(keys.begin(),keys.end()); - bool shown=false; for(const auto& key : keys) { string algname = DNSSECKeeper::algorithm2name(key.d_algorithm); @@ -1602,9 +1601,6 @@ bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = false) cout << "DNSKEY = " <