]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-dnssec.c
resolved: NSEC3 hash algorithms are distinct from DS digest algorithms
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Dec 2015 19:50:03 +0000 (20:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Dec 2015 20:42:10 +0000 (21:42 +0100)
commitd15ad74251454d55b715958d8e6f50f45195904a
tree9b46c0d7a41b9dd14f49ec9757e7007c8133bfa6
parent0a9a2ac3d3369b5add3b54823d088ba89baa27ab
resolved: NSEC3 hash algorithms are distinct from DS digest algorithms

Previously, we'd use the same set of identifiers for both, but that's
actually incorrect. It didn't matter much since the only NSEC3 hash
algorithm defined (SHA-1) is mapped to code 1 which is also what it is
encoded as in DS digests, but we really should make sure to use two
distinct enumerations.
src/resolve/resolved-dns-dnssec.c
src/resolve/resolved-dns-rr.h