summaryrefslogtreecommitdiffstats
path: root/crypto/ocsp
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2016-04-18 12:50:34 -0500
committerRich Salz <rsalz@openssl.org>2016-04-26 14:17:41 -0400
commit9547982e8c63eb3e0ca8d3ebb90ed612eb7ac932 (patch)
tree926882e0ea02ec6543b2ce720f41d7abac9a863c /crypto/ocsp
parent8b12d59bf7f6aa28a6f567fd2adac64ca01581ed (diff)
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@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ocsp')
-rw-r--r--crypto/ocsp/ocsp_vfy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c
index 2b55401aea..133e09ba28 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;