[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Matt Caswell matt at openssl.org
Thu Apr 19 07:49:00 UTC 2018


The branch OpenSSL_1_0_2-stable has been updated
       via  4571b3c8e06dc8d9fba003a3c9b9fb680f1bf223 (commit)
      from  67567b221bd06aca1719c926fadc5ce1a0452e9a (commit)


- Log -----------------------------------------------------------------
commit 4571b3c8e06dc8d9fba003a3c9b9fb680f1bf223
Author: Matt Caswell <matt at openssl.org>
Date:   Wed Apr 18 11:07:18 2018 +0100

    Fix ocsp app exit code
    
    If we run the ocsp command line app and the responder returns a
    non-successful status code then the app should exit with a failure code.
    
    Based on an original patch by Tatsuhiro Tsujikawa.
    
    Fixes #2387
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/5999)
    
    (cherry picked from commit 2add645dfc364cfc609e6138de1bf43c217bb557)

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

Summary of changes:
 apps/ocsp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/ocsp.c b/apps/ocsp.c
index 654eebc..352bdf1 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -787,7 +787,6 @@ int MAIN(int argc, char **argv)
                    OCSP_response_status_str(i), i);
         if (ignore_err)
             goto redo_accept;
-        ret = 0;
         goto end;
     }
 


More information about the openssl-commits mailing list