From 566ab9029d502fe20ad672c70da8cc453824dcae Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 22 Dec 2015 18:13:45 +0200 Subject: [PATCH] Squash compiler warnings --- pdns/validate.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pdns/validate.cc b/pdns/validate.cc index 7714f2e09..00eb0f04c 100644 --- a/pdns/validate.cc +++ b/pdns/validate.cc @@ -3,6 +3,7 @@ #include "dnssecinfra.hh" #include "rec-lua-conf.hh" #include "base32.hh" +#include "logger.hh" void dotEdge(DNSName zone, string type1, DNSName name1, string tag1, string type2, DNSName name2, string tag2, string color=""); void dotNode(string type, DNSName name, string tag, string content); @@ -103,10 +104,10 @@ void validateWithKeySet(const cspmap_t& rrsets, cspmap_t& validated, const keyse if(signature->d_siginception < now && signature->d_sigexpire > now) isValid = DNSCryptoKeyEngine::makeFromPublicKeyString(l.d_algorithm, l.d_key)->verify(msg, signature->d_signature); else - ; // cerr<<"signature is expired/not yet valid "; + DLOG(cerr<<"signature is expired/not yet valid"<first] = i->second; @@ -114,7 +115,7 @@ void validateWithKeySet(const cspmap_t& rrsets, cspmap_t& validated, const keyse // cerr<<"! validated "<first.first<<"/"<d_type)<d_type != QType::DNSKEY) { dotEdge(signature->d_signer, "DNSKEY", signature->d_signer, std::to_string(signature->d_tag), @@ -284,7 +285,7 @@ vState getKeysFor(DNSRecordOracle& dro, const DNSName& zone, keyset_t &keyset) break; } else - ; // cerr<<"Validation did not succeed!"<