aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_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/dtls_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/dtls_connection.erl')
-rw-r--r--lib/ssl/src/dtls_connection.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ssl/src/dtls_connection.erl b/lib/ssl/src/dtls_connection.erl
index 178668e808..86f79ed7e3 100644
--- a/lib/ssl/src/dtls_connection.erl
+++ b/lib/ssl/src/dtls_connection.erl
@@ -875,9 +875,10 @@ handle_client_hello(#client_hello{client_version = ClientVersion} = Hello,
State = prepare_flight(State0#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}),
ssl_connection:hello(internal, {common_client_hello, Type, ServerHelloExt},