{
unsigned char *sdata = data;
int ecpointformatlist_length = *(sdata++);
- int i;
if (ecpointformatlist_length != size - 1)
{
{
unsigned char *sdata = data;
int ecpointformatlist_length = *(sdata++);
- int i;
if (ecpointformatlist_length != size - 1)
{
/* If we are server and using an ECC cipher suite, send the point formats we support
* if the client sent us an ECPointsFormat extension.
*/
- int i;
int algs = s->s3->tmp.new_cipher->algorithms;
int using_ecc = (algs & SSL_kECDH) || (algs & SSL_kECDHE) || (algs & SSL_aECDSA);
using_ecc = using_ecc && (s->session->tlsext_ecpointformatlist != NULL);