Handle signed dangling CNAME replies to DS queries.

This commit is contained in:
Simon Kelley
2015-09-09 22:51:13 +01:00
parent 20fd11e11a
commit 6de81f1250

View File

@@ -1232,10 +1232,7 @@ int dnssec_validate_ds(time_t now, struct dns_header *header, size_t plen, char
/* If we return STAT_NO_SIG, name contains the name of the DS query */
if (val == STAT_NO_SIG)
{
*keyname = 0;
return val;
}
/* If the key needed to validate the DS is on the same domain as the DS, we'll
loop getting nowhere. Stop that now. This can happen of the DS answer comes