diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-11-25 11:51:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-11-25 11:51:46 +0000 |
commit | 9c61c57896cdfddde4e682ea006d55fb3d594bd3 (patch) | |
tree | 925f8e797e4654317bcd9b2890f0bc4780849421 /ssl/t1_lib.c | |
parent | a618011ca1a677128219d131b572cac987214288 (diff) |
using_ecc doesn't just apply to TLSv1
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 2ee2f45e1c..2b90d471e4 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1224,7 +1224,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); |