aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-09-27 12:28:28 +0200
committerIngela Anderton Andin <[email protected]>2016-09-28 10:05:57 +0200
commitca78bf1500c5f3c68d72214bd06fcc1b66a52c38 (patch)
treeaaba4bc1a22e679e91b88adc54bfd98be3920e68 /lib/ssl/src/tls_connection.erl
parente6059f94571a6c968c15b9de6b7d63ebd64f9acf (diff)
downloadotp-ca78bf1500c5f3c68d72214bd06fcc1b66a52c38.tar.gz
otp-ca78bf1500c5f3c68d72214bd06fcc1b66a52c38.tar.bz2
otp-ca78bf1500c5f3c68d72214bd06fcc1b66a52c38.zip
ssl: Correct ECC curve selection, the error could cause default to always be selected.
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index 9b9031473a..5e2ccf4222 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -237,9 +237,7 @@ error(_, _, _) ->
#state{}) ->
gen_statem:state_function_result().
%%--------------------------------------------------------------------
-hello(internal, #client_hello{client_version = ClientVersion,
- extensions = #hello_extensions{ec_point_formats = EcPointFormats,
- elliptic_curves = EllipticCurves}} = Hello,
+hello(internal, #client_hello{client_version = ClientVersion} = Hello,
#state{connection_states = ConnectionStates0,
port = Port, session = #session{own_certificate = Cert} = Session0,
renegotiation = {Renegotiation, _},
@@ -265,7 +263,6 @@ hello(internal, #client_hello{client_version = ClientVersion,
negotiated_version = Version,
hashsign_algorithm = HashSign,
session = Session,
- client_ecc = {EllipticCurves, EcPointFormats},
negotiated_protocol = Protocol})
end;
hello(internal, #server_hello{} = Hello,