using_ecc doesn't just apply to TLSv1
authorDr. Stephen Henson <steve@openssl.org>
Thu, 25 Nov 2010 11:51:31 +0000 (11:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 25 Nov 2010 11:51:31 +0000 (11:51 +0000)
ssl/t1_lib.c

index cdb55bc..fa07a1d 100644 (file)
@@ -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);