Changeset 1852 for trunk/pdns/pdns/slavecommunicator.cc
- Timestamp:
- 01/10/11 09:39:47 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/slavecommunicator.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/slavecommunicator.cc
r1819 r1852 77 77 DNSSECKeeper dk; 78 78 bool dnssecZone = false; 79 bool haveNSEC3=false; 79 80 if(dk.haveActiveKSKFor(domain)) { 80 81 dnssecZone=true; 81 dk.getNSEC3PARAM(domain, &ns3pr, &narrow);82 haveNSEC3=dk.getNSEC3PARAM(domain, &ns3pr, &narrow); 82 83 string hashed; 83 if( ns3pr.d_salt.empty())84 if(!haveNSEC3) 84 85 cerr<<"Adding NSEC ordering information"<<endl; 85 86 else if(!narrow) … … 134 135 }while(chopOff(shorter)); 135 136 136 if( ns3pr.d_salt.empty()) // NSEC137 if(!haveNSEC3) // NSEC 137 138 di.backend->updateDNSSECOrderAndAuth(domain_id, domain, qname, auth); 138 139 else {