summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/tsig_verify7.spec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/tests/testdata/tsig_verify7.spec')
-rw-r--r--src/lib/dns/tests/testdata/tsig_verify7.spec21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/dns/tests/testdata/tsig_verify7.spec b/src/lib/dns/tests/testdata/tsig_verify7.spec
new file mode 100644
index 0000000..377578e
--- /dev/null
+++ b/src/lib/dns/tests/testdata/tsig_verify7.spec
@@ -0,0 +1,21 @@
+#
+# DNS query message with TSIG that has empty MAC (invalidly)
+#
+
+[custom]
+sections: header:question:tsig
+[header]
+id: 0x2d65
+rd: 1
+arcount: 1
+[question]
+name: www.example.com
+[tsig]
+as_rr: True
+# TSIG QNAME won't be compressed
+rr_name: www.example.com
+algorithm: hmac-md5
+time_signed: 0x4da8877a
+mac_size: 0
+mac: ''
+original_id: 0x2d65