Home
last modified time | relevance | path

Searched refs:revoked_dnskey (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/resolve/
Dresolved-dns-trust-anchor.c645 static int dns_trust_anchor_check_revoked_one(DnsTrustAnchor *d, DnsResourceRecord *revoked_dnskey)… in dns_trust_anchor_check_revoked_one() argument
650 assert(revoked_dnskey); in dns_trust_anchor_check_revoked_one()
651 assert(revoked_dnskey->key->type == DNS_TYPE_DNSKEY); in dns_trust_anchor_check_revoked_one()
652 assert(revoked_dnskey->dnskey.flags & DNSKEY_FLAG_REVOKE); in dns_trust_anchor_check_revoked_one()
654 a = hashmap_get(d->positive_by_key, revoked_dnskey->key); in dns_trust_anchor_check_revoked_one()
662 if (anchor->dnskey.protocol != revoked_dnskey->dnskey.protocol) in dns_trust_anchor_check_revoked_one()
665 if (anchor->dnskey.algorithm != revoked_dnskey->dnskey.algorithm) in dns_trust_anchor_check_revoked_one()
668 if (anchor->dnskey.key_size != revoked_dnskey->dnskey.key_size) in dns_trust_anchor_check_revoked_one()
674 …if (((anchor->dnskey.flags ^ revoked_dnskey->dnskey.flags) | DNSKEY_FLAG_REVOKE) != DNSKEY_FLAG_RE… in dns_trust_anchor_check_revoked_one()
677 … if (memcmp(anchor->dnskey.key, revoked_dnskey->dnskey.key, anchor->dnskey.key_size) != 0) in dns_trust_anchor_check_revoked_one()
[all …]