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