From 95b3e84ba9bfe6fbade602c92ac23be283314385 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Sun, 29 Mar 2015 21:10:43 +0300 Subject: [PATCH] Show if key is missing This is deduced from having getBits() return value smaller than 1 --- pdns/pdnssec.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 2a30210ce..428fbf92d 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -989,6 +989,10 @@ bool showZone(DNSSECKeeper& dk, const std::string& zone) BOOST_FOREACH(DNSSECKeeper::keyset_t::value_type value, keyset) { string algname; algorithm2name(value.first.d_algorithm, algname); + if (value.first.getKey()->getBits() < 1) { + cout<<"ID = "<" <