]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
gqlite3 tests pass
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 23 Jun 2015 19:33:46 +0000 (21:33 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 30 Jun 2015 06:12:50 +0000 (08:12 +0200)
pdns/dnsname.cc
pdns/dnssecsigner.cc

index cce9797c62b02c38b58832492d7d7fc0da5dd024..28b281ff90660128e3c9456d4780d20b216d6225 100644 (file)
@@ -94,8 +94,8 @@ std::string DNSName::toDNSString() const
     return "";
   string ret(d_storage.c_str(), d_storage.length());
   ret.append(1,(char)0);
-  // return toLower(ret);
-  return ret;
+  return toLower(ret); // toLower or not toLower, that is the question
+  // return ret;
 }
 
 size_t DNSName::length() const {
index b7eeb352e5776890b273ed4a82c52e33477252c4..1ca603106ba45c7a98e58aaf62b044e18050bf02 100644 (file)
@@ -222,8 +222,8 @@ void addRRSigs(DNSSECKeeper& dk, UeberBackend& db, const set<DNSName>& authSet,
         addSignature(dk, db, signer, signQName, wildcardQName, signQType, signTTL, signPlace, toSign, signedRecords, origTTL);
     }
     signedRecords.push_back(*pos);
-    signQName= pos->qname;
-    wildcardQName = pos->wildcardname;
+    signQName= DNSName(toLower(pos->qname.toString()));
+    wildcardQName = DNSName(toLower(pos->wildcardname.toString()));
     signQType = pos ->qtype.getCode();
     if(pos->signttl)
       signTTL = pos->signttl;