+ auto wirelength = zone.operator const DNSName&().wirelength();
+ if(isSecure && wirelength > 222) {
numerrors++;
- cout<<"[Error] zone '" << zone << "' has NSEC3 semantics but is too long to have the hash prepended. Zone name is " << zone.wirelength() << " bytes long, whereas the maximum is 222 bytes." << endl;
+ cout<<"[Error] zone '" << zone << "' has NSEC3 semantics but is too long to have the hash prepended. Zone name is " << wirelength << " bytes long, whereas the maximum is 222 bytes." << endl;
}
vector<DNSBackend::KeyData> dbkeyset;
@@ -3496,8+3497,8 @@ static int setNsec3(vector<string>& cmds, const std::string_view synopsis)