mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-17 21:45:36 +03:00
resolve: use dns_answer_isempty() at one more place
This commit is contained in:
@@ -1184,7 +1184,7 @@ int dnssec_verify_rrset_search(
|
||||
|
||||
/* Verifies all RRs from "a" that match the key "key" against DNSKEYs in "validated_dnskeys" */
|
||||
|
||||
if (!a || a->n_rrs <= 0)
|
||||
if (dns_answer_isempty(a))
|
||||
return -ENODATA;
|
||||
|
||||
/* Iterate through each RRSIG RR. */
|
||||
|
Reference in New Issue
Block a user