From: Bert Hubert Date: Sat, 6 Oct 2012 10:42:46 +0000 (+0000) Subject: Make sure that if you deactivate all keys, we'll still show the keys with 'show-zone... X-Git-Tag: auth-3.2-rc1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4a4176ddec43d1b30ee4b12cde1e16aaed9ecc1;p=pdns Make sure that if you deactivate all keys, we'll still show the keys with 'show-zone'. Closes ticket 586 which was so well worded that I'm sure it comes from Marc Haber ;-) git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2769 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 4413d461a..96947a262 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -467,26 +467,26 @@ void disableDNSSECOnZone(DNSSECKeeper& dk, const string& zone) void showZone(DNSSECKeeper& dk, const std::string& zone) { if(!dk.isSecuredZone(zone)) { - cerr<<"Zone is not secured\n"; - return; + cerr<<"Zone is not actively secured\n"; } NSEC3PARAMRecordContent ns3pr; bool narrow; bool haveNSEC3=dk.getNSEC3PARAM(zone, &ns3pr, &narrow); - if(!haveNSEC3) - cout<<"Zone has NSEC semantics"<