aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_handshake.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-04-12 10:58:03 +0200
committerIngela Anderton Andin <[email protected]>2019-04-12 10:58:03 +0200
commit1b8191a65a0b9dcccebc4f9ea7dd3fdb65279c61 (patch)
treeecc56a8bcbdee9da647814fd3b6e9aed2f354ef7 /lib/ssl/src/tls_handshake.erl
parent2277e30d3dd207a81037d43a7328bbc91552bb76 (diff)
parentfaeda00c1cea2e62f88493a3fe830730a58e72d2 (diff)
downloadotp-1b8191a65a0b9dcccebc4f9ea7dd3fdb65279c61.tar.gz
otp-1b8191a65a0b9dcccebc4f9ea7dd3fdb65279c61.tar.bz2
otp-1b8191a65a0b9dcccebc4f9ea7dd3fdb65279c61.zip
Merge branch 'ingela/ssl/cipher-suite-conversions'
* ingela/ssl/cipher-suite-conversions: ssl: Add functions to convert between diffrent cipher suite formats
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
-rw-r--r--lib/ssl/src/tls_handshake.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake.erl b/lib/ssl/src/tls_handshake.erl
index e7cee1956b..74ab0d5923 100644
--- a/lib/ssl/src/tls_handshake.erl
+++ b/lib/ssl/src/tls_handshake.erl
@@ -294,7 +294,7 @@ handle_client_hello(Version,
no_suite ->
?ALERT_REC(?FATAL, ?INSUFFICIENT_SECURITY, no_suitable_ciphers);
_ ->
- #{key_exchange := KeyExAlg} = ssl_cipher_format:suite_definition(CipherSuite),
+ #{key_exchange := KeyExAlg} = ssl_cipher_format:suite_bin_to_map(CipherSuite),
case ssl_handshake:select_hashsign({ClientHashSigns, ClientSignatureSchemes},
Cert, KeyExAlg,
SupportedHashSigns,