summaryrefslogtreecommitdiff
path: root/lib/ssl/src/dtls_handshake.erl
diff options
context:
space:
mode:
authorJakub Witczak <kuba@erlang.org>2023-02-14 21:51:42 +0100
committerJakub Witczak <kuba@erlang.org>2023-03-06 15:36:06 +0100
commit16a7b5fd868597a937da2fccf43f05e561d5e8d8 (patch)
treeeb4aa39836663c6e2a19fcf9f2bafd42f2b9b33b /lib/ssl/src/dtls_handshake.erl
parent8ed8d10b42457b8bd8bfbbdbaf70656d82cc14bd (diff)
downloaderlang-16a7b5fd868597a937da2fccf43f05e561d5e8d8.tar.gz
ssl, public_key: code formatting
Diffstat (limited to 'lib/ssl/src/dtls_handshake.erl')
-rw-r--r--lib/ssl/src/dtls_handshake.erl16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/ssl/src/dtls_handshake.erl b/lib/ssl/src/dtls_handshake.erl
index 10258dcc50..1a58a166bd 100644
--- a/lib/ssl/src/dtls_handshake.erl
+++ b/lib/ssl/src/dtls_handshake.erl
@@ -219,19 +219,21 @@ handle_client_hello_extensions(Version, Type, Random, CipherSuites,
HelloExt, SslOpts, Session0, ConnectionStates0, Renegotiation, HashSign) ->
{Session, ConnectionStates, Protocol, ServerHelloExt} =
ssl_handshake:handle_client_hello_extensions(dtls_record, Random, CipherSuites,
- HelloExt, dtls_v1:corresponding_tls_version(Version),
- SslOpts, Session0,
+ HelloExt,
+ dtls_v1:corresponding_tls_version(Version),
+ SslOpts, Session0,
ConnectionStates0, Renegotiation,
Session0#session.is_resumable),
{Version, {Type, Session}, ConnectionStates, Protocol, ServerHelloExt, HashSign}.
handle_server_hello_extensions(Version, SessionId, Random, CipherSuite,
- Compression, HelloExt, SslOpt, ConnectionStates0, Renegotiation, IsNew) ->
+ Compression, HelloExt, SslOpt, ConnectionStates0,
+ Renegotiation, IsNew) ->
{ConnectionStates, ProtoExt, Protocol, OcspState} =
- ssl_handshake:handle_server_hello_extensions(dtls_record, Random, CipherSuite,
- Compression, HelloExt,
- dtls_v1:corresponding_tls_version(Version),
- SslOpt, ConnectionStates0, Renegotiation, IsNew),
+ ssl_handshake:handle_server_hello_extensions(
+ dtls_record, Random, CipherSuite, Compression, HelloExt,
+ dtls_v1:corresponding_tls_version(Version), SslOpt, ConnectionStates0,
+ Renegotiation, IsNew),
{Version, SessionId, ConnectionStates, ProtoExt, Protocol, OcspState}.
%%--------------------------------------------------------------------