From: bert hubert Date: Fri, 27 Nov 2015 21:25:17 +0000 (+0100) Subject: whitespace conflict. Merge branch 'master' into deforeach X-Git-Tag: dnsdist-1.0.0-alpha1~180^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f264cf5151d1d1c5ebb649df39b92ae06957b26;p=pdns whitespace conflict. Merge branch 'master' into deforeach Conflicts: pdns/dnssecinfra.cc --- 5f264cf5151d1d1c5ebb649df39b92ae06957b26 diff --cc pdns/dnssecinfra.cc index 917d0b159,4b9e0dc33..2f30e3d83 --- a/pdns/dnssecinfra.cc +++ b/pdns/dnssecinfra.cc @@@ -306,11 -306,11 +306,11 @@@ string getMessageForRRSET(const DNSName sort(signRecords.begin(), signRecords.end(), sharedDNSSECCompare); string toHash; - toHash.append(const_cast(rrc).serialize(DNSName(), true, true)); + toHash.append(const_cast(rrc).serialize(DNSName("."), true, true)); toHash.resize(toHash.size() - rrc.d_signature.length()); // chop off the end, don't sign the signature! - BOOST_FOREACH(shared_ptr& add, signRecords) { - toHash.append(qname.toDNSString()); // FIXME400 tolower? + for(shared_ptr& add : signRecords) { + toHash.append(qname.toDNSString()); // FIXME400 tolower? uint16_t tmp=htons(rrc.d_type); toHash.append((char*)&tmp, 2); tmp=htons(1); // class