aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_handshake.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-08-21 18:44:59 +0200
committerIngela Anderton Andin <[email protected]>2018-08-21 19:06:44 +0200
commitd9ca684badaba4bacf6379681957673b1f4d0565 (patch)
tree733ac42e3cfd2952058d5d8ebe470dfdda25f840 /lib/ssl/src/dtls_handshake.erl
parent164f440d9562679d90a6f7f3d708c08e5a493933 (diff)
downloadotp-d9ca684badaba4bacf6379681957673b1f4d0565.tar.gz
otp-d9ca684badaba4bacf6379681957673b1f4d0565.tar.bz2
otp-d9ca684badaba4bacf6379681957673b1f4d0565.zip
ssl: Move formatting code to own module
The conversion code for different representations of cipher suites is long an repetitive. We want to hide it in a module that does not have other functions that we like to look at.
Diffstat (limited to 'lib/ssl/src/dtls_handshake.erl')
-rw-r--r--lib/ssl/src/dtls_handshake.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_handshake.erl b/lib/ssl/src/dtls_handshake.erl
index 35c213a182..3f70eaec8a 100644
--- a/lib/ssl/src/dtls_handshake.erl
+++ b/lib/ssl/src/dtls_handshake.erl
@@ -194,7 +194,7 @@ handle_client_hello(Version,
no_suite ->
?ALERT_REC(?FATAL, ?INSUFFICIENT_SECURITY);
_ ->
- #{key_exchange := KeyExAlg} = ssl_cipher:suite_definition(CipherSuite),
+ #{key_exchange := KeyExAlg} = ssl_cipher_format:suite_definition(CipherSuite),
case ssl_handshake:select_hashsign(ClientHashSigns, Cert, KeyExAlg,
SupportedHashSigns, TLSVersion) of
#alert{} = Alert ->