From 8fc70bc7e454784b156223aa2ca071bb30086acb Mon Sep 17 00:00:00 2001 From: jgoertzen-sb Date: Thu, 14 Dec 2023 11:04:34 -0600 Subject: [PATCH] more debugging --- bin/named/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/named/main.c b/bin/named/main.c index 60ba77a56c..fa8a8d9155 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -1540,6 +1540,9 @@ main(int argc, char *argv[]) { * TODO: Maybe disable FIPS mode, or make oqs and FIPS * mutually exclusive modes? */ + printf("=============================================================\n"); + printf("loading providers\n"); + printf("=============================================================\n"); #if OPENSSL_VERSION_NUMER >= 0x30200000L && OPENSSL_API_LEVEL >= 30200 oqs = OSSL_PROVIDER_load(OSSL_LIB_CTX_get0_global_default(), "oqsprovider"); if (oqs == NULL) { @@ -1564,11 +1567,11 @@ main(int argc, char *argv[]) { ERR_clear_error(); named_main_earlyfatal("Failed to load default provider"); } +#endif /* if OPENSSL_VERSION_NUMER >= 0x30200000L && OPENSSL_API_LEVEL >= \ + 30200 */ printf("=============================================================\n"); printf("loaded providers\n"); printf("=============================================================\n"); -#endif /* if OPENSSL_VERSION_NUMER >= 0x30200000L && OPENSSL_API_LEVEL >= \ - 30200 */ named_os_init(program_name);