mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
resolve: use dns_answer_isempty() at one more place
This commit is contained in:
parent
87d3b4ef3b
commit
6edf21dba7
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user