From 942707e95c23e606d9f337c97cc1dd87b83f3bda Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 12 Jan 2016 16:35:24 +0200 Subject: [PATCH] Enclose DLOG with braces --- pdns/validate.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pdns/validate.cc b/pdns/validate.cc index 00eb0f04c..f3a764546 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!"<