diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-07 22:19:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-11 19:39:59 +0100 |
commit | 3f5ecaad3cf914d3c6fa1ab67947e1262f93bea5 (patch) | |
tree | 881ff14954b7aadc4b7417613ef6f89aadf70fcc /src/resolve | |
parent | c9c72065419e6595131a6fe1e663e2184a843f7c (diff) |
resolved: drop flags unused parameter from nsec3_is_good
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolved-dns-dnssec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resolve/resolved-dns-dnssec.c b/src/resolve/resolved-dns-dnssec.c index d5eda6a6dd..ce62f82392 100644 --- a/src/resolve/resolved-dns-dnssec.c +++ b/src/resolve/resolved-dns-dnssec.c @@ -1154,7 +1154,7 @@ finish: return r; } -static int nsec3_is_good(DnsResourceRecord *rr, DnsAnswerFlags flags, DnsResourceRecord *nsec3) { +static int nsec3_is_good(DnsResourceRecord *rr, DnsResourceRecord *nsec3) { const char *a, *b; int r; @@ -1267,7 +1267,7 @@ static int dnssec_test_nsec3(DnsAnswer *answer, DnsResourceKey *key, DnssecNsecR zone = DNS_RESOURCE_KEY_NAME(key); for (;;) { DNS_ANSWER_FOREACH_FLAGS(zone_rr, flags, answer) { - r = nsec3_is_good(zone_rr, flags, NULL); + r = nsec3_is_good(zone_rr, NULL); if (r < 0) return r; if (r == 0) @@ -1307,7 +1307,7 @@ found_zone: DNS_ANSWER_FOREACH_FLAGS(enclosure_rr, flags, answer) { - r = nsec3_is_good(enclosure_rr, flags, zone_rr); + r = nsec3_is_good(enclosure_rr, zone_rr); if (r < 0) return r; if (r == 0) @@ -1395,7 +1395,7 @@ found_closest_encloser: DNS_ANSWER_FOREACH_FLAGS(rr, flags, answer) { _cleanup_free_ char *label = NULL, *next_hashed_domain = NULL; - r = nsec3_is_good(rr, flags, zone_rr); + r = nsec3_is_good(rr, zone_rr); if (r < 0) return r; if (r == 0) |