Fix DNSSEC validation of ANY queries.

This commit is contained in:
Simon Kelley
2014-04-29 13:02:41 +01:00
parent 1fc02680af
commit 9d1b22aac2
2 changed files with 17 additions and 0 deletions

View File

@@ -1682,6 +1682,9 @@ int dnssec_validate_reply(time_t now, struct dns_header *header, size_t plen, ch
GETSHORT(qtype, p1);
GETSHORT(qclass, p1);
ans_start = p1;
if (qtype == T_ANY)
have_answer = 1;
/* Can't validate an RRISG query */
if (qtype == T_RRSIG)