[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Sat Jul 1 08:04:11 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  6650db730960e5c5429e70db1b998c90228f44a1 (commit)
      from  60ccf93d1bb5fb29907f789a913e6e259dfc1ee2 (commit)


- Log -----------------------------------------------------------------
commit 6650db730960e5c5429e70db1b998c90228f44a1
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri Jun 30 20:47:45 2017 +0200

    When apps_startup() fails, exit with a failure code and a message
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3816)
    
    (cherry picked from commit f2da4a4917eae1bf66290e1bd8ccd3db69d3fe63)

-----------------------------------------------------------------------

Summary of changes:
 apps/openssl.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/apps/openssl.c b/apps/openssl.c
index e69e7d9..b99bfa8 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -154,8 +154,13 @@ int main(int argc, char *argv[])
 #endif
     }
 
-    if (!apps_startup())
+    if (!apps_startup()) {
+        BIO_printf(bio_err,
+                   "FATAL: Startup failure (dev note: apps_startup() failed)\n");
+        ERR_print_errors(bio_err);
+        ret = 1;
         goto end;
+    }
 
     prog = prog_init();
     pname = opt_progname(argv[0]);


More information about the openssl-commits mailing list