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 8cadb3d commit 8fc70bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/named/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);

Expand Down

0 comments on commit 8fc70bc

Please sign in to comment.