From 8de7d2a0a42b4b5128dd41b1a1edec72d0e8ea74 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 29 May 2018 16:12:35 +0200 Subject: [PATCH] auth: Pass signQName to getRRSIGsForRRSET / addSignature by ref --- pdns/dnssecsigner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/dnssecsigner.cc b/pdns/dnssecsigner.cc index 771ddd76d..5c563d7ef 100644 --- a/pdns/dnssecsigner.cc +++ b/pdns/dnssecsigner.cc @@ -85,7 +85,7 @@ static void fillOutRRSIG(DNSSECPrivateKey& dpk, const DNSName& signQName, RRSIGR /* this is where the RRSIGs begin, keys are retrieved, but the actual signing happens in fillOutRRSIG */ -static int getRRSIGsForRRSET(DNSSECKeeper& dk, const DNSName& signer, const DNSName signQName, uint16_t signQType, uint32_t signTTL, +static int getRRSIGsForRRSET(DNSSECKeeper& dk, const DNSName& signer, const DNSName& signQName, uint16_t signQType, uint32_t signTTL, vector >& toSign, vector& rrcs) { if(toSign.empty()) @@ -122,7 +122,7 @@ static int getRRSIGsForRRSET(DNSSECKeeper& dk, const DNSName& signer, const DNSN } // this is the entrypoint from DNSPacket -static void addSignature(DNSSECKeeper& dk, UeberBackend& db, const DNSName& signer, const DNSName signQName, const DNSName& wildcardname, uint16_t signQType, +static void addSignature(DNSSECKeeper& dk, UeberBackend& db, const DNSName& signer, const DNSName& signQName, const DNSName& wildcardname, uint16_t signQType, uint32_t signTTL, DNSResourceRecord::Place signPlace, vector >& toSign, vector& outsigned, uint32_t origTTL) { -- 2.50.1