diff options
author | Ingela Anderton Andin <[email protected]> | 2017-11-29 16:03:13 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-12-05 09:43:17 +0100 |
commit | bd32f689538de017d6c63105547470029fe89ced (patch) | |
tree | 2cc155b3db7132fa5f54f60e3372d355696af2e7 /lib/ssl/src/dtls_handshake.erl | |
parent | b272a4d292356eef69253517ea8f9fec55259613 (diff) | |
download | otp-bd32f689538de017d6c63105547470029fe89ced.tar.gz otp-bd32f689538de017d6c63105547470029fe89ced.tar.bz2 otp-bd32f689538de017d6c63105547470029fe89ced.zip |
ssl: Use maps for cipher suites internally
This is a preparation for improvements to come in option handling and
support for TLS-1.3
Diffstat (limited to 'lib/ssl/src/dtls_handshake.erl')
-rw-r--r-- | lib/ssl/src/dtls_handshake.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_handshake.erl b/lib/ssl/src/dtls_handshake.erl index 1d6f0a42c8..5e8f5c2ca0 100644 --- a/lib/ssl/src/dtls_handshake.erl +++ b/lib/ssl/src/dtls_handshake.erl @@ -189,7 +189,7 @@ handle_client_hello(Version, no_suite -> ?ALERT_REC(?FATAL, ?INSUFFICIENT_SECURITY); _ -> - {KeyExAlg,_,_,_} = ssl_cipher:suite_definition(CipherSuite), + #{key_exchange := KeyExAlg} = ssl_cipher:suite_definition(CipherSuite), case ssl_handshake:select_hashsign(ClientHashSigns, Cert, KeyExAlg, SupportedHashSigns, TLSVersion) of #alert{} = Alert -> |