Remove useless code
[openssl.git] / ssl / t1_lib.c
index f18f502907cb10c043feb1df9f1cc83e65b21319..6446623920550bfd7868410f8deca22df6b78c83 100644 (file)
@@ -3938,7 +3938,6 @@ int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain,
         idx = ssl_cert_type(x, pk);
         if (idx == -1)
             return 0;
-        cpk = c->pkeys + idx;
         pvalid = s->s3->tmp.valid_flags + idx;
 
         if (c->cert_flags & SSL_CERT_FLAGS_CHECK_TLS_STRICT)