]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- xfr-tsig, more explanation in testcode/unittsig.c.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 27 Jun 2025 09:03:25 +0000 (11:03 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 27 Jun 2025 09:03:25 +0000 (11:03 +0200)
testcode/unittsig.c

index b73c89ccd471fe4bceda59b1c02449d96316a624..dda0c2aff228b1bcf141cad89991129def420c7c 100644 (file)
@@ -109,6 +109,16 @@ static int vtest = 0;
  *     there is no previous packet. If the result is not the expected
  *     result the test fails.
  *
+ * tsig-sign-reply <time> <expected rcode> <expected result2>
+ * <hex>
+ * endpacket
+ *     The data from previous packet in the buffer is used with
+ *     tsig-verify-query. Then the hex data is the reply, it it
+ *     used with tsig-sign-reply. The result packet is in the packet
+ *     buffer. The expected rcode is the result of the verify,
+ *     the expected result2 is the result of the sign. If that differs
+ *     the test fails.
+ *
  */
 
 /** Clean up first keyword */