]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Remove unused vector of tags in validateDNSKeysAgainstDS() 9505/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 22 Sep 2020 10:02:30 +0000 (12:02 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 22 Sep 2020 10:02:30 +0000 (12:02 +0200)
pdns/validate.cc

index 8a0c92fd938522021095adc19dfdcfbf606a8c97..88a120826e6f1d0c15738e161206b05a533b4491 100644 (file)
@@ -916,11 +916,6 @@ void validateDNSKeysAgainstDS(time_t now, const DNSName& zone, const dsmap_t& ds
     }
   }
 
-  vector<uint16_t> toSignTags;
-  for (const auto& key : tkeys) {
-    toSignTags.push_back(key->getTag());
-  }
-
   //    cerr<<"got "<<validkeys.size()<<"/"<<tkeys.size()<<" valid/tentative keys"<<endl;
   // these counts could be off if we somehow ended up with
   // duplicate keys. Should switch to a type that prevents that.