summaryrefslogtreecommitdiffstats
path: root/src/resolve/test-dnssec.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-14 20:11:11 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-17 20:47:45 +0100
commit96bb76734d8e1c8520a2456901079610813eac6d (patch)
tree23346e1fae203850b22cc1ffdde88db38b1530ac /src/resolve/test-dnssec.c
parentresolved: be stricter when using NSEC3 (diff)
downloadsystemd-96bb76734d8e1c8520a2456901079610813eac6d.tar.xz
systemd-96bb76734d8e1c8520a2456901079610813eac6d.zip
resolved: rename dnssec_verify_dnskey() → dnssec_verify_dnskey_by_ds()
This should clarify that this is not regular signature-based validation, but validation through DS RR fingerprints.
Diffstat (limited to '')
-rw-r--r--src/resolve/test-dnssec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/test-dnssec.c b/src/resolve/test-dnssec.c
index 0c9efde1fe..45fe1997e2 100644
--- a/src/resolve/test-dnssec.c
+++ b/src/resolve/test-dnssec.c
@@ -270,8 +270,8 @@ static void test_dnssec_verify_dns_key(void) {
log_info("DNSKEY: %s", strna(dns_resource_record_to_string(dnskey)));
log_info("DNSKEY keytag: %u", dnssec_keytag(dnskey, false));
- assert_se(dnssec_verify_dnskey(dnskey, ds1, false) > 0);
- assert_se(dnssec_verify_dnskey(dnskey, ds2, false) > 0);
+ assert_se(dnssec_verify_dnskey_by_ds(dnskey, ds1, false) > 0);
+ assert_se(dnssec_verify_dnskey_by_ds(dnskey, ds2, false) > 0);
}
static void test_dnssec_canonicalize_one(const char *original, const char *canonical, int r) {