Commit 32f90c0f authored by Simon Kelley's avatar Simon Kelley

Tweak.

parent bce6e1bc
......@@ -1544,7 +1544,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
}
#ifdef HAVE_DNSSEC
if (qtype == T_DNSKEY || qtype == T_DS || qtype == T_RRSIG)
if (option_bool(OPT_DNSSEC_VALID) && (qtype == T_DNSKEY || qtype == T_DS || qtype == T_RRSIG))
{
int gotone = 0;
struct blockdata *keydata;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment