Remove unnecessarily shadowed local variable
The same local X509 *cert variable can be used for both the X509_dup() calls. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
eb2223e0ec
commit
6a6566c7af
1 changed files with 0 additions and 1 deletions
|
@ -1099,7 +1099,6 @@ static int ocsp_resp_cb(SSL *s, void *arg)
|
|||
certs = NULL;
|
||||
}
|
||||
if (ctx->peer_issuer_issuer) {
|
||||
X509 *cert;
|
||||
cert = X509_dup(ctx->peer_issuer_issuer);
|
||||
if (cert && !sk_X509_push(certs, cert)) {
|
||||
tls_show_errors(
|
||||
|
|
Loading…
Reference in a new issue