return false;
}
-bool DNSSECKeeper::unSecureZone(const DNSName& zone, string& error, string& /* info */) {
+bool DNSSECKeeper::unSecureZone(const DNSName& zone, string& error) {
// Not calling isSecuredZone(), as it will return false for zones with zero
// active keys.
DNSSECKeeper::keyset_t keyset=getKeys(zone);
void getFromMetaOrDefault(const DNSName& zname, const std::string& key, std::string& value, const std::string& defaultvalue);
bool getFromMeta(const DNSName& zname, const std::string& key, std::string& value);
void getSoaEdit(const DNSName& zname, std::string& value, bool useCache=true);
- bool unSecureZone(const DNSName& zone, std::string& error, std::string& info);
+ bool unSecureZone(const DNSName& zone, std::string& error);
bool rectifyZone(const DNSName& zone, std::string& error, std::string& info, bool doTransaction);
static void setMaxEntries(size_t maxEntries);
}
string error, info;
- bool ret = dk.unSecureZone(zone, error, info);
+ bool ret = dk.unSecureZone(zone, error);
if (!ret) {
cerr << error << endl;
}
// "dnssec": false in json
if (isDNSSECZone) {
string info, error;
- if (!dk.unSecureZone(zonename, error, info)) {
+ if (!dk.unSecureZone(zonename, error)) {
throw ApiException("Error while un-securing zone '"+ zonename.toString()+"': " + error);
}
isDNSSECZone = dk.isSecuredZone(zonename, false);