]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/resolve answer_finalize: fix AD flag handling
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 13 Sep 2019 17:18:55 +0000 (19:18 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 21 Oct 2020 11:05:55 +0000 (13:05 +0200)
commit273fe41a2e5e4da03261c4a1de8218902ac210da
treec23a28b9f254b1894820659e85b4b7f28616c3f7
parent99e014ac6352a6ded4142f3c1b9b530dc02e0baf
lib/resolve answer_finalize: fix AD flag handling

Resolves a FIXME, and this way of doing AD should be better/safer.
(Lower likelihood of accidentally leaving it on in some situation.)

GC test: the record is inserted manually with _SECURE rank but without
signatures.  I think it's better to return AD flag in that edge case.
lib/resolve.c
utils/cache_gc/test.integr/val_rrsig.rpl