From: Mark Andrews Date: Sat, 12 Jan 2008 21:48:37 +0000 (+0000) Subject: 2297. [bug] isc_entropy_createfilesource() failure not caught in X-Git-Tag: v9.3.5rc1~28^2~57 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=400a1b6604ede895cc8d67a7aa66796a5dbc75e4;p=thirdparty%2Fbind9.git 2297. [bug] isc_entropy_createfilesource() failure not caught in bin/tests/dst/t_dst.c. [RT #17467] --- diff --git a/CHANGES b/CHANGES index deb8e6e055c..c90ee607019 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 0c986e6efb0..19c37012212 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));