Skip to content
Snippets Groups Projects
Commit 441881a6 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

tests: reponse to TSIG query should contain TSIG section

parent 74c39255
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,6 @@ class Update(object):
resp_rc = dns.rcode.to_text(resp.rcode())
compare(resp_rc, rc, "UPDATE RCODE")
if resp_rc == "NOERROR" and self.upd.keyring and not resp.had_tsig:
if self.upd.keyring and not resp.had_tsig:
set_err("INVALID RESPONSE")
check_log("ERROR: Expected TSIG signed response")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment