]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-dnssec.c
resolved: split up nsec3_hashed_domain() into two calls
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Jan 2016 21:22:41 +0000 (22:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jan 2016 18:39:59 +0000 (19:39 +0100)
commitcdbffec026d5212a6db3fbf0391a0da926aaa09a
treeb712f9869f0d36a79fc1f335c50289124f702b04
parent3f5ecaad3cf914d3c6fa1ab67947e1262f93bea5
resolved: split up nsec3_hashed_domain() into two calls

There's now nsec3_hashed_domain_format() and nsec3_hashed_domain_make().
The former takes a hash value and formats it as domain, the latter takes
a domain name, hashes it and then invokes nsec3_hashed_domain_format().

This way we can reuse more code, as the formatting logic can be unified
between this call and another place.
src/resolve/resolved-dns-dnssec.c