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 14, 2023
1 parent ba12a73 commit 8cadb3d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions bin/named/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1534,15 +1534,6 @@ main(int argc, char *argv[]) {
isc_assertion_setcallback(assertion_failed);
isc_error_setfatal(library_fatal_error);
isc_error_setunexpected(library_unexpected_error);

named_os_init(program_name);

printf("=============================================================");
printf("parsing...");
parse_command_line(argc, argv);
printf("parsing...done\n");
printf("=============================================================");

/*
* Since providers may be loaded due to command line
* arguments, load oqs and default providers now.
Expand Down Expand Up @@ -1578,6 +1569,11 @@ main(int argc, char *argv[]) {
printf("=============================================================\n");
#endif /* if OPENSSL_VERSION_NUMER >= 0x30200000L && OPENSSL_API_LEVEL >= \
30200 */

named_os_init(program_name);

parse_command_line(argc, argv);

#ifdef ENABLE_AFL
if (named_g_fuzz_type != isc_fuzz_none) {
named_fuzz_setup();
Expand Down

0 comments on commit 8cadb3d

Please sign in to comment.