aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-11-07 18:34:34 +0100
committerIngela Anderton Andin <[email protected]>2017-11-09 16:29:38 +0100
commit38b07caa2a1c6cd3537eadd36770afa54f067562 (patch)
tree6ede98ba4f15f9cfdd46ad3ea31ddca4d0a28cdf /lib/ssl/src/tls_connection.erl
parent3e8c1ff94c0a73df71daadd4eb782c21c49f22d9 (diff)
downloadotp-38b07caa2a1c6cd3537eadd36770afa54f067562.tar.gz
otp-38b07caa2a1c6cd3537eadd36770afa54f067562.tar.bz2
otp-38b07caa2a1c6cd3537eadd36770afa54f067562.zip
ssl: Countermeasurements for Bleichenbacher attack
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index e3ffbea3d3..7861287a22 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -286,6 +286,7 @@ hello(internal, #client_hello{client_version = ClientVersion} = Hello,
gen_handshake(ssl_connection, hello, internal, {common_client_hello, Type, ServerHelloExt},
State#state{connection_states = ConnectionStates,
negotiated_version = Version,
+ client_hello_version = ClientVersion,
hashsign_algorithm = HashSign,
session = Session,
negotiated_protocol = Protocol})