Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoertzen-sb committed Dec 15, 2023
1 parent e72e275 commit 7e50b66
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions bin/named/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1331,16 +1331,17 @@ setup(void) {
named_server_create(named_g_mctx, &named_g_server);
ENSURE(named_g_server != NULL);
sctx = named_g_server->sctx;
printf("===========================");
printf("named main:\n");

// TODO remove debugging
printf("===========================\n");
printf("named setup:\n");
/*
* Report supported algorithms now that dst_lib_init() has
* been called via named_server_create().
*/
format_supported_algorithms(logit);
OSSL_PROVIDER_do_all(NULL, display_provider, NULL);
printf("===========================");
printf("===========================\n");
fflush(stdout);
/*
* Modify server context according to command line options
*/
Expand Down Expand Up @@ -1609,7 +1610,11 @@ main(int argc, char *argv[]) {
#endif /* if OPENSSL_VERSION_NUMER >= 0x30200000L && OPENSSL_API_LEVEL >= \
30200 */

printf("===========================\n");
printf("calling setup:\n");
setup();
printf("===========================\n");
fflush(stdout);
isc_mem_setname(named_g_mctx, "main");
INSIST(named_g_server != NULL);

Expand Down

0 comments on commit 7e50b66

Please sign in to comment.