From 9f7646da25c7fe62c4a4582f4c21b3ebaaafe004 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 6 Feb 1999 15:20:44 +0000 Subject: [PATCH] Diagnose errors. --- apps/req.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/req.c b/apps/req.c index 340bf62f85..3407cd0ee3 100644 --- a/apps/req.c +++ b/apps/req.c @@ -660,7 +660,13 @@ loop: /* Add extensions */ if(extensions && !X509V3_EXT_add_conf(req_conf, - &ext_ctx, extensions, x509ss)) goto end; + &ext_ctx, extensions, x509ss)) + { + BIO_printf(bio_err, + "Error Loading extension section %s\n", + extensions); + goto end; + } if (!(i=X509_sign(x509ss,pkey,digest))) goto end; -- 2.25.1