]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-trust-anchor.c
resolved: rework trust anchor revoke checking
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Jan 2016 16:03:31 +0000 (17:03 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jan 2016 18:39:59 +0000 (19:39 +0100)
commitd424da2ae0860268ab863ce8945a425aa79e3826
treed201349da41342ef1075cf7bc85a2d2da969dfc7
parent0f87f3e8e72bef1b951a1ee97c4e976e924f7912
resolved: rework trust anchor revoke checking

Instead of first iterating through all DNSKEYs in the DnsAnswer in
dns_transaction_check_revoked_trust_anchors(), and
then doing that a second time in dns_trust_anchor_check_revoked(), do so
only once in the former, and pass the dnskey we found directly to the
latter.
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-trust-anchor.c
src/resolve/resolved-dns-trust-anchor.h