aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-01-29 13:21:41 +0100
committerIngela Anderton Andin <[email protected]>2019-02-08 09:22:26 +0100
commit2b9412e026ab58bac5b61f239d607db6482974ef (patch)
treec5db354f3d5a0a8f9e5f29783c478b2f9045dddb /lib/ssl/src/tls_connection.erl
parent94e43acfeb4d5d5e2f1944ef55ffa302cc901e1f (diff)
downloadotp-2b9412e026ab58bac5b61f239d607db6482974ef.tar.gz
otp-2b9412e026ab58bac5b61f239d607db6482974ef.tar.bz2
otp-2b9412e026ab58bac5b61f239d607db6482974ef.zip
ssl: Add hashsign_algorithm and cert_hashsign_algorithm to handshake_env
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index 2e9ae97da0..684910db10 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -551,9 +551,10 @@ hello(internal, #client_hello{client_version = ClientVersion} = Hello,
gen_handshake(?FUNCTION_NAME, internal, {common_client_hello, Type, ServerHelloExt},
State#state{connection_states = ConnectionStates,
negotiated_version = Version,
- hashsign_algorithm = HashSign,
- handshake_env = HsEnv#handshake_env{client_hello_version = ClientVersion,
- negotiated_protocol = Protocol},
+ handshake_env = HsEnv#handshake_env{
+ hashsign_algorithm = HashSign,
+ client_hello_version = ClientVersion,
+ negotiated_protocol = Protocol},
session = Session
})
end;