Diagnose errors.
authorBen Laurie <ben@openssl.org>
Sat, 6 Feb 1999 15:20:44 +0000 (15:20 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 6 Feb 1999 15:20:44 +0000 (15:20 +0000)
apps/req.c

index 340bf62f85c2c3768883d0a4c4c4a7c72f611fe0..3407cd0ee306aecbf18964ac6934456fc6694e28 100644 (file)
@@ -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;