]> 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 07:55:18 +0000 (09:55 +0200)
commit3835d75f003a73c8b90567e0f4af182d302f4f5b
treef166b9a39ed664a5c64b7a68ff489beec3fd4c68
parent37dbd57c163049cea87d9984b1b413b923aed23c
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.
tests/dns/tsig_test.c