zonemd, fix to detect duplicate zonemd scheme and algo RRs.

This commit is contained in:
W.C.A. Wijngaards
2021-01-22 14:36:53 +01:00
parent 72d7587138
commit 20ff80c5bb
3 changed files with 65 additions and 1 deletions
+7
View File
@@ -467,6 +467,13 @@ static void zonemd_verify_tests(void)
/* okay date: "20201020135527", */
"20221020135527",
"verify DNSKEY RRset with trust anchor failed: signature expired");
/* duplicate zonemd with same scheme and algorithm */
zonemd_verify_test("example.com",
"testdata/zonemd.example16.zone",
NULL,
"20180302005009",
"ZONEMD RRSet contains more than one RR with the same scheme and hash algorithm");
}
/** zonemd unit tests */