]> granicus.if.org Git - pdns/commitdiff
api: show keys for zones without active ksk
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 25 Nov 2014 15:11:27 +0000 (16:11 +0100)
committermind04 <mind04@monshouwer.org>
Tue, 25 Nov 2014 15:16:33 +0000 (16:16 +0100)
pdns/ws-auth.cc

index 6ec8fd9e52c2eaa11697c8a1b21e98fb47fd7678..b30846d70b9fc6f2544e2c15d793b1bd46558994 100644 (file)
@@ -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())