diff --git a/bin/tests/system/tkey/keycreate.c b/bin/tests/system/tkey/keycreate.c index bd42a7eb3d..302d310e02 100644 --- a/bin/tests/system/tkey/keycreate.c +++ b/bin/tests/system/tkey/keycreate.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: keycreate.c,v 1.7 2001/04/16 17:23:34 gson Exp $ */ +/* $Id: keycreate.c,v 1.7.2.1 2004/01/27 04:43:21 marka Exp $ */ #include @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -215,6 +216,7 @@ main(int argc, char *argv[]) { ectx = NULL; RUNCHECK(isc_entropy_create(mctx, &ectx)); RUNCHECK(isc_entropy_createfilesource(ectx, "random.data")); + RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)); log = NULL; logconfig = NULL; @@ -300,6 +302,7 @@ main(int argc, char *argv[]) { isc_log_destroy(&log); dst_lib_destroy(); + isc_hash_destroy(); isc_entropy_detach(&ectx); isc_mem_destroy(&mctx); diff --git a/bin/tests/system/tkey/keydelete.c b/bin/tests/system/tkey/keydelete.c index abfe1edf23..a060e71406 100644 --- a/bin/tests/system/tkey/keydelete.c +++ b/bin/tests/system/tkey/keydelete.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: keydelete.c,v 1.4 2001/02/28 03:05:01 bwelling Exp $ */ +/* $Id: keydelete.c,v 1.4.2.1 2004/01/27 04:43:21 marka Exp $ */ #include @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -170,6 +171,7 @@ main(int argc, char **argv) { ectx = NULL; RUNCHECK(isc_entropy_create(mctx, &ectx)); RUNCHECK(isc_entropy_createfilesource(ectx, "random.data")); + RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)); log = NULL; logconfig = NULL; @@ -252,6 +254,7 @@ main(int argc, char **argv) { isc_log_destroy(&log); dst_lib_destroy(); + isc_hash_destroy(); isc_entropy_detach(&ectx); isc_mem_destroy(&mctx);