Commit 41e2d35291 for bind
commit 41e2d35291a3c99fdef500c2a05cb3a41a4c8d91
Author: Michal Nowak <mnowak@isc.org>
Date: Fri Oct 9 13:21:39 2026 +0000
Drop the redundant TSIG presence check in tsiggss
Since dnspython 2.9.0, dns.query.tcp() rejects an unsigned response to a
TSIG-signed query with a FormError, so asserting response.had_tsig
afterwards can no longer fail.
Assisted-by: Claude:claude-opus-5-5
diff --git a/bin/tests/system/tsiggss/tests_gss_context.py b/bin/tests/system/tsiggss/tests_gss_context.py
index 04732a6468..bcea0fc800 100644
--- a/bin/tests/system/tsiggss/tests_gss_context.py
+++ b/bin/tests/system/tsiggss/tests_gss_context.py
@@ -106,7 +106,6 @@ def signed_query(ns1, keyring):
query.use_tsig(keyring, algorithm=dns.tsig.GSS_TSIG)
response = dns.query.tcp(query, ns1.ip, port=ns1.ports.dns, timeout=5)
assert response.rcode() == dns.rcode.NOERROR
- assert response.had_tsig
def test_gss_context_survives_reload(ns1, monkeypatch):