Skip to content

Commit

Permalink
changed fatal->CHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
Martyrshot committed Dec 13, 2023
1 parent 7a12739 commit 2bdf224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/check/named-checkconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,14 +717,14 @@ main(int argc, char **argv) {
if (oqs == NULL) {
ERR_print_errors_fp(stderr);
ERR_clear_error();
fatal("Failed to load oqsprovider");
CHECK(ISC_R_FAILURE);
}
default_provider = OSSL_PROVIDER_load(OSSL_LIB_CTX_get0_global_default(), "default");
if (default_provider == NULL) {
OSSL_PROVIDER_unload(oqs);
ERR_print_errors_fp(stderr);
ERR_clear_error();
fatal("Failed to load default provider");
CHECK(ISC_R_FAILURE);
}
#endif

Expand Down

0 comments on commit 2bdf224

Please sign in to comment.