]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: drop unused argument
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Apr 2022 14:21:12 +0000 (23:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Apr 2022 14:21:12 +0000 (23:21 +0900)
src/resolve/resolved-dns-dnssec.c

index 5c2e936163daf26c259e2f02e1afab51267edb86..c36609a8d1158f681c81765b6e17e529ba41d0fd 100644 (file)
@@ -778,8 +778,7 @@ static hash_md_t algorithm_to_implementation_id(uint8_t algorithm) {
 static void dnssec_fix_rrset_ttl(
                 DnsResourceRecord *list[],
                 unsigned n,
-                DnsResourceRecord *rrsig,
-                usec_t realtime) {
+                DnsResourceRecord *rrsig) {
 
         assert(list);
         assert(n > 0);
@@ -1109,7 +1108,7 @@ int dnssec_verify_rrset(
 
         /* Now, fix the ttl, expiry, and remember the synthesizing source and the signer */
         if (r > 0)
-                dnssec_fix_rrset_ttl(list, n, rrsig, realtime);
+                dnssec_fix_rrset_ttl(list, n, rrsig);
 
         if (r == 0)
                 *result = DNSSEC_INVALID;