From d4a4176ddec43d1b30ee4b12cde1e16aaed9ecc1 Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Sat, 6 Oct 2012 10:42:46 +0000 Subject: [PATCH] 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 --- pdns/pdnssec.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 4413d461a2..96947a2626 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"<