If verify fails, say why.
authorBen Laurie <ben@openssl.org>
Fri, 2 Nov 2001 13:29:14 +0000 (13:29 +0000)
committerBen Laurie <ben@openssl.org>
Fri, 2 Nov 2001 13:29:14 +0000 (13:29 +0000)
apps/req.c

index b965a9f..dc08d6d 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");