From d9e1562a0e31e0d8f691e8ee98924b2fa09c8bd7 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 9 May 2019 15:10:19 +0200 Subject: [PATCH] show DS for second and further keys too; fixes #7667 --- pdns/pdnsutil.cc | 4 ---- 1 file changed, 4 deletions(-) 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 = " <