summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-11-25 11:51:31 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-11-25 11:51:31 +0000
commit290be870d6158fc242a9b82b44cf938a68b2a1d9 (patch)
treeee75601cad9e1bcdcb15550b20180de7135c9311 /ssl
parentfa71cc7bcea57e16a22da6c92bdd833107ce406a (diff)
using_ecc doesn't just apply to TLSv1
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
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);