]> git.ipfire.org Git - thirdparty/bind9.git/commit
Map DNS_R_BADTSIG to FORMERR
authorMark Andrews <marka@isc.org>
Wed, 22 Jul 2020 23:47:49 +0000 (09:47 +1000)
committerMark Andrews <marka@isc.org>
Tue, 4 Aug 2020 13:04:34 +0000 (23:04 +1000)
commit2dc26ebdb625de3a66c0bbd90fd3983a62f8e741
tree36d3737056f09cde9caf0315003e0c49533ae2d8
parent535d27ffc525d7f3740db5a64962d3ccc5a25707
Map DNS_R_BADTSIG to FORMERR

Now that the log message has been printed set the result code to
DNS_R_FORMERR.  We don't do this via dns_result_torcode() as we
don't want upstream errors to produce FORMERR if that processing
end with DNS_R_BADTSIG.

(cherry picked from commit 20488d6ad36c7b48f043e583ff32eb14ca52f035)
lib/ns/client.c