RT2489: Remove extra "sig" local variable.
[openssl.git] / crypto / ocsp / ocsp_cl.c
index 9c14d9da273f9869d0b9fcbeb89e6b7e9630f3ce..6e40d1a78bc2dcc98ae6e51ca2aab502d176282a 100644 (file)
@@ -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))