From: Aki Tuomi Date: Tue, 12 Jan 2016 14:35:24 +0000 (+0200) Subject: Enclose DLOG with braces X-Git-Tag: dnsdist-1.0.0-alpha2~88^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3086%2Fhead;p=thirdparty%2Fpdns.git Enclose DLOG with braces --- diff --git a/pdns/validate.cc b/pdns/validate.cc index 00eb0f04cf..f3a7645460 100644 --- a/pdns/validate.cc +++ b/pdns/validate.cc @@ -103,8 +103,9 @@ void validateWithKeySet(const cspmap_t& rrsets, cspmap_t& validated, const keyse unsigned int now=time(0); if(signature->d_siginception < now && signature->d_sigexpire > now) isValid = DNSCryptoKeyEngine::makeFromPublicKeyString(l.d_algorithm, l.d_key)->verify(msg, signature->d_signature); - else + else { DLOG(cerr<<"signature is expired/not yet valid"<first.first<<"/"<d_type)<d_type != QType::DNSKEY) { dotEdge(signature->d_signer, "DNSKEY", signature->d_signer, std::to_string(signature->d_tag), @@ -284,8 +286,9 @@ vState getKeysFor(DNSRecordOracle& dro, const DNSName& zone, keyset_t &keyset) validkeys=tkeys; break; } - else + else { DLOG(cerr<<"Validation did not succeed!"<