[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Sat Apr 16 11:58:03 UTC 2016


The branch master has been updated
       via  64a1385a83a0d1d2b4e47889898d784ba2745f71 (commit)
      from  f0e0fd51fd8307f6eae64862ad9aaea113f1177a (commit)


- Log -----------------------------------------------------------------
commit 64a1385a83a0d1d2b4e47889898d784ba2745f71
Author: Richard Levitte <levitte at openssl.org>
Date:   Sat Apr 16 12:57:09 2016 +0200

    Small OCSP fixup
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Stephen Henson <steve at openssl.org>

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

Summary of changes:
 crypto/ocsp/ocsp_vfy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c
index aba623c..16931ca 100644
--- a/crypto/ocsp/ocsp_vfy.c
+++ b/crypto/ocsp/ocsp_vfy.c
@@ -151,7 +151,7 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
 
         /* If fatal error or valid match then finish */
         if (ret != 0)
-            goto err;
+            goto end;
 
         /*
          * Easy case: explicitly trusted. Get root CA and check for explicit
@@ -166,8 +166,8 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
             goto err;
         }
         ret = 1;
-        goto end;
     }
+    goto end;
 
  err:
     ret = 0;


More information about the openssl-commits mailing list