Commit 9c61c578 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

using_ecc doesn't just apply to TLSv1

parent a618011c
Loading
Loading
Loading
Loading
+1 −1
Changes for ssl/t1_lib.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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);