Skip to content

Commit

Permalink
Added better error reporting for oqsprovider failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Martyrshot committed Dec 7, 2023
1 parent 76f6239 commit 228027f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/dnssec/dnssec-keygen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,7 @@ main(int argc, char **argv) {
default_provider = OSSL_PROVIDER_load(NULL, "default");
if (default_provider == NULL) {
OSSL_PROVIDER_unload(oqs);
ERR_print_errors_fp(stderr);
ERR_clear_error();
fatal("Failed to load default provider");
}
Expand Down

0 comments on commit 228027f

Please sign in to comment.