From: Kees Monshouwer Date: Tue, 25 Nov 2014 15:11:27 +0000 (+0100) Subject: api: show keys for zones without active ksk X-Git-Tag: auth-3.4.2~15^2~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d02744f22e36f0e36f97fee7613677e773266dc7;p=thirdparty%2Fpdns.git api: show keys for zones without active ksk --- diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index f9eda83fea..c1b51f53bb 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -489,9 +489,6 @@ static void apiZoneCryptokeys(HttpRequest* req, HttpResponse* resp) { if(!B.getDomainInfo(zonename, di)) throw ApiException("Could not find domain '"+zonename+"'"); - if(!dk.isSecuredZone(zonename)) - throw ApiException("Zone '"+zonename+"' is not secured"); - DNSSECKeeper::keyset_t keyset=dk.getKeys(zonename, boost::indeterminate, false); if (keyset.empty())