python:tests/dns_base: generate a real signature in bad_sign_packet()
commitae23d512a724650ae2de1178ac43deff8266aa56
authorStefan Metzmacher <metze@samba.org>
Wed, 29 May 2024 11:11:24 +0000 (29 13:11 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2024 02:13:32 +0000 (6 02:13 +0000)
tree019a1350b4c5c1bff0d44036847f391a794d780d
parent319836ce9e65d68aa98696f387c0d3e6d99e57b8
python:tests/dns_base: generate a real signature in bad_sign_packet()

We just destroy the signature bytes but keep the header unchanged.

This makes it easier to look at it in wireshark.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13019

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dns_base.py