nsec3 work, prove name error.

git-svn-id: file:///svn/unbound/trunk@610 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-09-13 15:02:33 +00:00
parent d85debfae4
commit facde2ca10
7 changed files with 499 additions and 25 deletions
+7
View File
@@ -313,6 +313,13 @@ dstest_file(const char* fname)
ldns_buffer_free(buf);
}
/** helper for unittest of NSEC routines */
static int
unitest_nsec_has_type_rdata(char* bitmap, size_t len, uint16_t type)
{
return nsecbitmap_has_type_rdata((uint8_t*)bitmap, len, type);
}
/** Test NSEC type bitmap routine */
static void
nsectest()