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: dnsdist-1.0.0-alpha1~59^2~6^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e454d475fcd203e315be8b00d2ce38d300b4bbd9;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 6ec8fd9e52..b30846d70b 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -483,9 +483,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())