resolved: dnssec - prepend hashed labels to zone name

All hashed names consist of the hashed label prepended to the zone name, not to the
closest enclosure.
This commit is contained in:
Tom Gundersen 2016-01-01 22:18:24 +01:00
parent d1511b3338
commit b2c2a1b95d
1 changed files with 2 additions and 2 deletions

View File

@ -1328,7 +1328,7 @@ found_closest_encloser:
if (!l)
return -ENOMEM;
next_closer_domain = strjoin(l, ".", p, NULL);
next_closer_domain = strjoin(l, ".", zone, NULL);
if (!next_closer_domain)
return -ENOMEM;
@ -1345,7 +1345,7 @@ found_closest_encloser:
if (!label)
return -ENOMEM;
next_hashed_domain = strjoin(label, ".", p, NULL);
next_hashed_domain = strjoin(label, ".", zone, NULL);
if (!next_hashed_domain)
return -ENOMEM;