diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-16 12:57:09 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-16 12:57:09 +0200 |
commit | 64a1385a83a0d1d2b4e47889898d784ba2745f71 (patch) | |
tree | 0bfe4dad1ebbde041cdc0102489e8d350a95a4f4 /crypto/ocsp | |
parent | f0e0fd51fd8307f6eae64862ad9aaea113f1177a (diff) |
Small OCSP fixup
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/ocsp')
-rw-r--r-- | crypto/ocsp/ocsp_vfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c index aba623c798..16931caf2e 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; |