Browse Source

[trac893] missing test data

JINMEI Tatuya 14 years ago
parent
commit
daab0dcd59
1 changed files with 22 additions and 0 deletions
  1. 22 0
      src/lib/dns/tests/testdata/tsig_verify10.spec

+ 22 - 0
src/lib/dns/tests/testdata/tsig_verify10.spec

@@ -0,0 +1,22 @@
+#
+# A simple DNS query message with TSIG signed whose MAC is too short
+# (only 1 byte)
+#
+
+[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: 1
+mac: 0x22
+original_id: 0x2d65