From: Aki Tuomi Date: Sun, 29 Mar 2015 18:10:43 +0000 (+0300) Subject: Show if key is missing X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~33^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95b3e84ba9bfe6fbade602c92ac23be283314385;p=thirdparty%2Fpdns.git Show if key is missing This is deduced from having getBits() return value smaller than 1 --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 2a30210cec..428fbf92d5 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 = "<" <