summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-01-01 16:48:35 +0100
committerTom Gundersen <teg@jklm.no>2016-01-01 23:10:01 +0100
commit964067666fbf7f4a5edc06d3eb4845c35457c858 (patch)
tree911f60cafcdfd56ae8492aedeae3ce3e01a1bd06 /src/resolve
parentb2c2a1b95dcdd5aaa3e4b7c36c94a8ba8912a983 (diff)
resolved: dnssec - add reference to the algorithm we implement
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-dns-dnssec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-dnssec.c b/src/resolve/resolved-dns-dnssec.c
index deb5e7384f..1ffa98ecb3 100644
--- a/src/resolve/resolved-dns-dnssec.c
+++ b/src/resolve/resolved-dns-dnssec.c
@@ -1192,6 +1192,7 @@ static int nsec3_is_good(DnsResourceRecord *rr, DnsAnswerFlags flags, DnsResourc
return dns_name_equal(a, b);
}
+/* See RFC 5155, Section 8 */
static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecResult *result, bool *authenticated) {
_cleanup_free_ char *next_closer_domain = NULL, *l = NULL;
uint8_t hashed[DNSSEC_HASH_SIZE_MAX];