diff options
author | Ingela Anderton Andin <[email protected]> | 2017-12-05 09:52:15 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-12-05 09:52:15 +0100 |
commit | e211aa22eb1a07fb60462cce449cd92f3491063b (patch) | |
tree | af70f1a8b4effc1c4a75c002e465def481d604c9 /lib/ssl/src/tls_handshake.erl | |
parent | 901de169dcd4d81099523094af2b39c8ab89f6f9 (diff) | |
parent | bd32f689538de017d6c63105547470029fe89ced (diff) | |
download | otp-e211aa22eb1a07fb60462cce449cd92f3491063b.tar.gz otp-e211aa22eb1a07fb60462cce449cd92f3491063b.tar.bz2 otp-e211aa22eb1a07fb60462cce449cd92f3491063b.zip |
Merge branch 'ingela/ssl/cipher-suites/OTP-14749' into maint
* ingela/ssl/cipher-suites/OTP-14749:
ssl: Use maps for cipher suites internally
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
-rw-r--r-- | lib/ssl/src/tls_handshake.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake.erl b/lib/ssl/src/tls_handshake.erl index a38c5704a6..d59e817ffb 100644 --- a/lib/ssl/src/tls_handshake.erl +++ b/lib/ssl/src/tls_handshake.erl @@ -203,7 +203,7 @@ handle_client_hello(Version, no_suite -> ?ALERT_REC(?FATAL, ?INSUFFICIENT_SECURITY, no_suitable_ciphers); _ -> - {KeyExAlg,_,_,_} = ssl_cipher:suite_definition(CipherSuite), + #{key_exchange := KeyExAlg} = ssl_cipher:suite_definition(CipherSuite), case ssl_handshake:select_hashsign(ClientHashSigns, Cert, KeyExAlg, SupportedHashSigns, Version) of #alert{} = Alert -> |