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

index 2ee2f45e1cd85db8edb277d97a3c5c9458d88bbb..2b90d471e45012d1915eae7f4cca03bf971f7cba 100644 (file)
@@ -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);