diff options
author | Tom Gundersen <teg@jklm.no> | 2016-01-01 22:18:24 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-01-01 23:10:01 +0100 |
commit | b2c2a1b95dcdd5aaa3e4b7c36c94a8ba8912a983 (patch) | |
tree | 9794b1b1e04255eb0e110db924b6f04158c52655 /src/resolve/resolved-dns-dnssec.c | |
parent | d1511b3338f431de3c95a50a9c1aca297e0c0734 (diff) |
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.
Diffstat (limited to 'src/resolve/resolved-dns-dnssec.c')
-rw-r--r-- | src/resolve/resolved-dns-dnssec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-dnssec.c b/src/resolve/resolved-dns-dnssec.c index 564436551c..deb5e7384f 100644 --- a/src/resolve/resolved-dns-dnssec.c +++ b/src/resolve/resolved-dns-dnssec.c @@ -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; |