Function tls1_check_ec_server_key is now redundant as we make

appropriate checks in tls1_check_chain.
(backport from HEAD)
This commit is contained in:
Dr. Stephen Henson
2012-12-26 14:27:27 +00:00
parent 484f876235
commit c550f2e37b
3 changed files with 0 additions and 13 deletions

View File

@@ -563,14 +563,6 @@ static int tls1_check_cert_param(SSL *s, X509 *x)
return 0;
return tls1_check_ec_key(s, curve_id, &comp_id);
}
/* Check EC server key is compatible with client extensions */
int tls1_check_ec_server_key(SSL *s)
{
CERT_PKEY *cpk = s->cert->pkeys + SSL_PKEY_ECC;
if (!cpk->x509 || !cpk->privatekey)
return 0;
return tls1_check_cert_param(s, cpk->x509);
}
/* Check EC temporary key is compatible with client extensions */
int tls1_check_ec_tmp_key(SSL *s)
{