aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection_1_3.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-06-11 09:53:16 +0200
committerGitHub <[email protected]>2019-06-11 09:53:16 +0200
commitf4b64d3ddaaedf29c81a32af291104279fbbfdce (patch)
treed8b8aae604e346ea9d847093f724528da958e3da /lib/ssl/src/tls_connection_1_3.erl
parent7742555c6f88133c60639e5db464d90495bb943a (diff)
parent77868eda0882549188f2c387e0b7043f7daaaa70 (diff)
downloadotp-f4b64d3ddaaedf29c81a32af291104279fbbfdce.tar.gz
otp-f4b64d3ddaaedf29c81a32af291104279fbbfdce.tar.bz2
otp-f4b64d3ddaaedf29c81a32af291104279fbbfdce.zip
Merge pull request #2276 from peterdmv/ssl/tls13-alpn
Implement ALPN in TLS 1.3
Diffstat (limited to 'lib/ssl/src/tls_connection_1_3.erl')
-rw-r--r--lib/ssl/src/tls_connection_1_3.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_connection_1_3.erl b/lib/ssl/src/tls_connection_1_3.erl
index 821b7000cc..117e4f059d 100644
--- a/lib/ssl/src/tls_connection_1_3.erl
+++ b/lib/ssl/src/tls_connection_1_3.erl
@@ -228,8 +228,8 @@ wait_cert_cr(internal, #change_cipher_spec{}, State, _Module) ->
tls_connection:next_event(?FUNCTION_NAME, no_record, State);
wait_cert_cr(internal, #certificate_1_3{} = Certificate, State0, _Module) ->
case tls_handshake_1_3:do_wait_cert_cr(Certificate, State0) of
- #alert{} = Alert ->
- ssl_connection:handle_own_alert(Alert, {3,4}, wait_cert_cr, State0);
+ {#alert{} = Alert, State} ->
+ ssl_connection:handle_own_alert(Alert, {3,4}, wait_cert_cr, State);
{State1, NextState} ->
tls_connection:next_event(NextState, no_record, State1)
end;