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 a35167a commit d9ce4e8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bin/named/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,13 @@ create_managers(void) {
return (ISC_R_SUCCESS);
}

// TODO remove after debugging
int display_provider(OSSL_PROVIDER *provider, void *cbdata) {
printf("Provider loaded: %s\n", OSSL_PROVIDER_name(provider));
return 1;
}


static void
setup(void) {
isc_result_t result;
Expand Down Expand Up @@ -1322,13 +1329,16 @@ 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");

/*
* 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("===========================");
/*
* Modify server context according to command line options
*/
Expand Down

0 comments on commit d9ce4e8

Please sign in to comment.