]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ignore tailing dot in signer name 4229/head
authorKees Monshouwer <mind04@monshouwer.org>
Sat, 23 Jul 2016 11:42:32 +0000 (13:42 +0200)
committermind04 <mind04@monshouwer.org>
Sat, 23 Jul 2016 11:42:32 +0000 (13:42 +0200)
pdns/dbdnsseckeeper.cc

index 8b119467d3fdeb32b5ed7d76f040536b200f3e48..0b1ce6e334413179ab3691597226c1cf110f1b9c 100644 (file)
@@ -409,7 +409,7 @@ bool DNSSECKeeper::getPreRRSIGs(DNSBackend& db, const std::string& signer, const
                 // cerr<<"Considering for '"<<qtype.getName()<<"' RRSIG '"<<rr.content<<"'\n";
                 vector<string> parts;
                 stringtok(parts, rr.content);
-                if(parts[0] == qtype.getName() && pdns_iequals(parts[7], signer+".")) {
+                if(parts[0] == qtype.getName() && pdns_iequals(stripDot(parts[7]), signer)) {
                         // cerr<<"Got it"<<endl;
                         if (!wildcardname.empty())
                                 rr.qname = qname;