]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2297. [bug] isc_entropy_createfilesource() failure not caught in
authorMark Andrews <marka@isc.org>
Sat, 12 Jan 2008 21:48:37 +0000 (21:48 +0000)
committerMark Andrews <marka@isc.org>
Sat, 12 Jan 2008 21:48:37 +0000 (21:48 +0000)
                        bin/tests/dst/t_dst.c. [RT #17467]

CHANGES
bin/tests/dst/t_dst.c

diff --git a/CHANGES b/CHANGES
index deb8e6e055ce532a416ef40a629ce7e3c7eca2bc..c90ee607019d9dee7811c0368177d4ffa90bfc4a 100644 (file)
--- 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]
 
index 0c986e6efb08c3c3dcf69960a8514ce9f5218ee8..19c37012212af9909a118d419683f739c61f56cd 100644 (file)
@@ -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 <config.h>
 
@@ -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));