If verify fails, say why.
[openssl.git] / apps / req.c
index b965a9f37a08a4ff3b04cf5465cd54d5ada270bb..dc08d6d7a559c0237e7f1cc58cae8d862b79fb7c 100644 (file)
@@ -916,6 +916,7 @@ loop:
                else if (i == 0)
                        {
                        BIO_printf(bio_err,"verify failure\n");
+                       ERR_print_errors(bio_err);
                        }
                else /* if (i > 0) */
                        BIO_printf(bio_err,"verify OK\n");