diff options
author | Ben Laurie <ben@openssl.org> | 2012-12-10 17:52:17 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2012-12-10 17:52:17 +0100 |
commit | ec40e5ff4233bc1d931f13103591d44b420de2d9 (patch) | |
tree | b241d064e92dbe141735b28850edd6b6d85ee67d /crypto/ocsp | |
parent | revert SUITEB128ONLY patch, anything wanting to use P-384 can use SUITEB128 i... (diff) | |
download | openssl-ec40e5ff4233bc1d931f13103591d44b420de2d9.tar.xz openssl-ec40e5ff4233bc1d931f13103591d44b420de2d9.zip |
Tabification. Remove accidental duplication.
Diffstat (limited to 'crypto/ocsp')
-rw-r--r-- | crypto/ocsp/ocsp_vfy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ocsp/ocsp_vfy.c b/crypto/ocsp/ocsp_vfy.c index 7ce7393ac8..214b4020fe 100644 --- a/crypto/ocsp/ocsp_vfy.c +++ b/crypto/ocsp/ocsp_vfy.c @@ -173,14 +173,14 @@ int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs, ret = X509_verify_cert(&ctx); chain = tmpchain = X509_STORE_CTX_get1_chain(&ctx); X509_STORE_CTX_cleanup(&ctx); - if (ret <= 0) + if (ret <= 0) { i = X509_STORE_CTX_get_error(&ctx); OCSPerr(OCSP_F_OCSP_BASIC_VERIFY,OCSP_R_CERTIFICATE_VERIFY_ERROR); ERR_add_error_data(2, "Verify error:", X509_verify_cert_error_string(i)); - goto end; - } + goto end; + } verified_chain: if(flags & OCSP_NOCHECKS) |