Skip to content

Commit

Permalink
using_ecc doesn't just apply to TLSv1
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Nov 25, 2010
1 parent a618011 commit 9c61c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/t1_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9c61c57

Please sign in to comment.