From e2f93bc65baa560381b23feec1a9d95eb8220211 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Tue, 23 Jun 2015 21:33:46 +0200 Subject: [PATCH] gqlite3 tests pass --- pdns/dnsname.cc | 4 ++-- pdns/dnssecsigner.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/dnsname.cc b/pdns/dnsname.cc index cce9797c62..28b281ff90 100644 --- a/pdns/dnsname.cc +++ b/pdns/dnsname.cc @@ -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 { diff --git a/pdns/dnssecsigner.cc b/pdns/dnssecsigner.cc index b7eeb352e5..1ca603106b 100644 --- a/pdns/dnssecsigner.cc +++ b/pdns/dnssecsigner.cc @@ -222,8 +222,8 @@ void addRRSigs(DNSSECKeeper& dk, UeberBackend& db, const set& 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; -- 2.47.3