summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Papp <djszapi@archlinux.us>2014-08-18 23:21:32 +0200
committerRich Salz <rsalz@akamai.com>2014-08-18 23:36:49 +0200
commitddc29125a1d188e17b7fd16b55953b70ba3ce605 (patch)
treec1485830a4a6c19b20f0e5b8bfb0456023e3db44
parentRT2942: CRYPTO_set_dynlock_create_callback doc fix (diff)
downloadopenssl-ddc29125a1d188e17b7fd16b55953b70ba3ce605.tar.xz
openssl-ddc29125a1d188e17b7fd16b55953b70ba3ce605.zip
RT2489: Remove extra "sig" local variable.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
-rw-r--r--crypto/ocsp/ocsp_cl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c
index 9c14d9da27..6e40d1a78b 100644
--- a/crypto/ocsp/ocsp_cl.c
+++ b/crypto/ocsp/ocsp_cl.c
@@ -148,13 +148,12 @@ int OCSP_request_sign(OCSP_REQUEST *req,
unsigned long flags)
{
int i;
- OCSP_SIGNATURE *sig;
X509 *x;
if (!OCSP_request_set1_name(req, X509_get_subject_name(signer)))
goto err;
- if (!(req->optionalSignature = sig = OCSP_SIGNATURE_new())) goto err;
+ if (!(req->optionalSignature = OCSP_SIGNATURE_new())) goto err;
if (key)
{
if (!X509_check_private_key(signer, key))