-/* 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);
- }