[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Tue Apr 26 18:17:53 UTC 2016


The branch master has been updated
       via  9547982e8c63eb3e0ca8d3ebb90ed612eb7ac932 (commit)
      from  8b12d59bf7f6aa28a6f567fd2adac64ca01581ed (commit)


- Log -----------------------------------------------------------------
commit 9547982e8c63eb3e0ca8d3ebb90ed612eb7ac932
Author: Benjamin Kaduk <bkaduk at akamai.com>
Date:   Mon Apr 18 12:50:34 2016 -0500

    Remove dead-code infinite loop
    
    Commit d32f5d8733df9938727710d4194e92813c421ef1 added a 'goto end;' statement
    at the end of the code block for the 'end' label.  Fortunately, it was after a
    return statement, so no infinite loop occurred, but it is still dead code.
    
    Remove the extra goto statement as cleanup.
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>

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

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

diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c
index 2b55401..133e09b 100644
--- a/crypto/ocsp/ocsp_vfy.c
+++ b/crypto/ocsp/ocsp_vfy.c
@@ -176,7 +176,6 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
     if (bs->certs && certs)
         sk_X509_free(untrusted);
     return ret;
-    goto end;
 
  err:
     ret = 0;


More information about the openssl-commits mailing list