The same local X509 *cert variable can be used for both the X509_dup() calls. Signed-off-by: Jouni Malinen <j@w1.fi>
@@ -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(