From bcc47c8b81bbb9e4227658d108ffd21302da580a Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Mon, 9 Nov 2020 19:08:18 +0100 Subject: [PATCH] Extend Algorithm field size --- pdns/pdnsutil.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 43eae0785b..020665ae89 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -808,8 +808,8 @@ static int deleteZone(const DNSName &zone) { static void listKey(DomainInfo const &di, DNSSECKeeper& dk, bool printHeader = true) { if (printHeader) { - cout<<"Zone Type Size Algorithm ID Location Keytag"<= 13) ? 1 : 13 - algname.length(); + spacelen = (algname.length() >= 16) ? 1 : 16 - algname.length(); cout< 5) ? 1 : 5 - std::to_string(key.second.id).length(); -- 2.47.2