}
static int maxNSEC3Iterations=::arg().asNum("max-nsec3-iterations");
- if(ns3p) {
+ if(ns3p != nullptr) {
*ns3p = NSEC3PARAMRecordContent(value);
if (ns3p->d_iterations > maxNSEC3Iterations && !isPresigned(zname, useCache)) {
ns3p->d_iterations = maxNSEC3Iterations;
ns3p->d_algorithm = 1;
}
}
- if(narrow) {
+ if(narrow != nullptr) {
if(useCache) {
getFromMeta(zname, "NSEC3NARROW", value);
}
bool unpublishKey(const DNSName& zname, unsigned int id);
bool checkKeys(const DNSName& zname, vector<string>* errorMessages = nullptr);
- bool getNSEC3PARAM(const DNSName& zname, NSEC3PARAMRecordContent* n3p=0, bool* narrow=0, bool useCache=true);
+ bool getNSEC3PARAM(const DNSName& zname, NSEC3PARAMRecordContent* n3p=nullptr, bool* narrow=nullptr, bool useCache=true);
bool checkNSEC3PARAM(const NSEC3PARAMRecordContent& ns3p, string& msg);
bool setNSEC3PARAM(const DNSName& zname, const NSEC3PARAMRecordContent& n3p, const bool& narrow=false);
bool unsetNSEC3PARAM(const DNSName& zname);