From 228027f10d86da2b22687debe108f714ae10056a Mon Sep 17 00:00:00 2001 From: Martyrshot Date: Thu, 7 Dec 2023 13:40:26 -0600 Subject: [PATCH] Added better error reporting for oqsprovider failure --- bin/dnssec/dnssec-keygen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dnssec/dnssec-keygen.c b/bin/dnssec/dnssec-keygen.c index f0fe4a6e76..60a8a02727 100644 --- a/bin/dnssec/dnssec-keygen.c +++ b/bin/dnssec/dnssec-keygen.c @@ -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"); }