mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-05 01:45:07 +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" */
|
/* 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;
|
return -ENODATA;
|
||||||
|
|
||||||
/* Iterate through each RRSIG RR. */
|
/* Iterate through each RRSIG RR. */
|
||||||
|
Reference in New Issue
Block a user