From 290be870d6158fc242a9b82b44cf938a68b2a1d9 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 25 Nov 2010 11:51:31 +0000 Subject: [PATCH] using_ecc doesn't just apply to TLSv1 --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index cdb55bc276..fa07a1d5fc 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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); -- 2.40.0