]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add tsig unit test for bad time and bad signatures
authorOndřej Surý <ondrej@isc.org>
Fri, 26 Jul 2024 00:05:43 +0000 (02:05 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 11:11:40 +0000 (11:11 +0000)
commit0e1d47c171ec98b1aff658ba8f38bfdd45f77dec
tree237aaea04093f25a2fcb09bb71ab0f94759d46dc
parent506138ec0f21efb2625e21127aeb4b5465f9dffc
Add tsig unit test for bad time and bad signatures

The tsig unit test was only testing if everything went ok, but it was
not testing whether the error paths work.  Add two more unit tests - one
uses the time outside of the TSIG skew, and the second trashes the
signature with random data.

(cherry picked from commit 3835d75f003a73c8b90567e0f4af182d302f4f5b)
tests/dns/tsig_test.c