NULL,
"20180302005009",
"ZONEMD RRSet contains more than one RR with the same scheme and hash algorithm");
+ /* different capitalisation of ns name and owner names, should
+ * be canonicalized. */
+ zonemd_verify_test("example.com",
+ "testdata/zonemd.example17.zone",
+ NULL,
+ "20180302005009",
+ "ZONEMD verification successful");
}
/** zonemd unit tests */
--- /dev/null
+example.com. IN SOA ns.example.com. hostmaster.example.com. 200154054 28800 7200 604800 3600
+; capitalisation is different here.
+exaMPLe.cOM. IN NS Ns.exaMPLe.cOm.
+; the ZONEMD that should be in this file, without DNSSEC
+example.com. IN ZONEMD 200154054 1 2 EFAA5B78B38AB1C45DE57B8167BCCE906451D0E72118E1F5E80B5F0C3CF04BFFC65D53C011185528EAD439D6F3A02F511961E090E5E4E0DFA013BD276D728B22
+; capitalisation is different here.
+wWW.exAMPLe.cOM. IN A 127.0.0.1
+ns.example.com. IN A 127.0.0.1
+bar.example.com. IN A 1.2.3.4
+ding.example.com. IN A 1.2.3.4
+foo.example.com. IN A 1.2.3.4