mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-07 10:27:44 +02:00
zonemd, fix to detect duplicate zonemd scheme and algo RRs.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user