using_ecc doesn't just apply to TLSv1
This commit is contained in:
parent
fa71cc7bce
commit
290be870d6
@ -1336,7 +1336,7 @@ int ssl_prepare_clienthello_tlsext(SSL *s)
|
||||
break;
|
||||
}
|
||||
}
|
||||
using_ecc = using_ecc && (s->version == TLS1_VERSION);
|
||||
using_ecc = using_ecc && (s->version >= TLS1_VERSION);
|
||||
if (using_ecc)
|
||||
{
|
||||
if (s->tlsext_ecpointformatlist != NULL) OPENSSL_free(s->tlsext_ecpointformatlist);
|
||||
|
Loading…
x
Reference in New Issue
Block a user