Fix DNSSEC caching problems: incomplete RRSIG RRsets.

This commit is contained in:
Simon Kelley
2014-02-10 10:35:42 +00:00
parent e243c072b5
commit c8ca33f810
3 changed files with 60 additions and 63 deletions

View File

@@ -1168,6 +1168,7 @@ int dnssec_validate_reply(time_t now, struct dns_header *header, size_t plen, ch
type_covered == T_DNSKEY || type_covered == T_PTR))
{
a.addr.dnssec.type = type_covered;
a.addr.dnssec.class = class1;
algo = *p2++;
p2 += 13; /* labels, orig_ttl, expiration, inception */