mirror of
https://github.com/systemd/systemd.git
synced 2025-03-23 10:50:16 +03:00
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:
parent
d1511b3338
commit
b2c2a1b95d
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user