From 400a1b6604ede895cc8d67a7aa66796a5dbc75e4 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 12 Jan 2008 21:48:37 +0000 Subject: [PATCH] 2297. [bug] isc_entropy_createfilesource() failure not caught in bin/tests/dst/t_dst.c. [RT #17467] --- CHANGES | 3 +++ bin/tests/dst/t_dst.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index deb8e6e055..c90ee60701 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2297. [bug] isc_entropy_createfilesource() failure not caught in + bin/tests/dst/t_dst.c. [RT #17467] + 2296. [port] Allow docbook stylesheet location to be specified to configure. [RT #17457] diff --git a/bin/tests/dst/t_dst.c b/bin/tests/dst/t_dst.c index 0c986e6efb..19c3701221 100644 --- a/bin/tests/dst/t_dst.c +++ b/bin/tests/dst/t_dst.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: t_dst.c,v 1.53 2007/06/19 23:47:00 tbox Exp $ */ +/* $Id: t_dst.c,v 1.54 2008/01/12 21:48:37 marka Exp $ */ #include @@ -377,7 +377,7 @@ t1(void) { t_result(T_UNRESOLVED); return; } - result = isc_entropy_createfilesource(ectx, "randomfile"); + isc_result = isc_entropy_createfilesource(ectx, "randomfile"); if (isc_result != ISC_R_SUCCESS) { t_info("isc_entropy_create failed %s\n", isc_result_totext(isc_result)); @@ -876,7 +876,7 @@ t2_vfy(char **av) { isc_result_totext(isc_result)); return(T_UNRESOLVED); } - result = isc_entropy_createfilesource(ectx, "randomfile"); + isc_result = isc_entropy_createfilesource(ectx, "randomfile"); if (isc_result != ISC_R_SUCCESS) { t_info("isc_entropy_create failed %s\n", isc_result_totext(isc_result));