* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsupdate.c,v 1.88 2001/03/30 22:48:35 bwelling Exp $ */
+/* $Id: nsupdate.c,v 1.89 2001/04/10 18:45:05 bwelling Exp $ */
#include <config.h>
}
}
- result = dns_dispatchmgr_create(mctx, NULL, &dispatchmgr);
+ result = isc_entropy_create(mctx, &entp);
+ check_result(result, "isc_entropy_create");
+
+ result = dns_dispatchmgr_create(mctx, entp, &dispatchmgr);
check_result(result, "dns_dispatchmgr_create");
result = isc_socketmgr_create(mctx, &socketmgr);
result = isc_task_onshutdown(global_task, shutdown_program, NULL);
check_result(result, "isc_task_onshutdown");
- result = isc_entropy_create(mctx, &entp);
- check_result(result, "isc_entropy_create");
-
result = dst_lib_init(mctx, entp, 0);
check_result(result, "dst_lib_init");
is_dst_up = ISC_TRUE;