diff options
author | Ingela Anderton Andin <[email protected]> | 2018-08-09 16:11:09 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-08-09 16:11:09 +0200 |
commit | eedb6e5d739d65fb4814e85c24acc0dc66b3cc58 (patch) | |
tree | 18fcac30c3627cf7ae2baeff938a5721be68790f /lib/ssl/src/ssl_cipher.erl | |
parent | c280eb343939f7b5f3dc6a4c3a349466e78bcfc5 (diff) | |
parent | 7c23f62c90b1cd01eff03215967a6eb75ab7218f (diff) | |
download | otp-eedb6e5d739d65fb4814e85c24acc0dc66b3cc58.tar.gz otp-eedb6e5d739d65fb4814e85c24acc0dc66b3cc58.tar.bz2 otp-eedb6e5d739d65fb4814e85c24acc0dc66b3cc58.zip |
Merge branch 'ingela/maint/ssl/ECC/ERIERL-210/OTP-15203' into maint
* ingela/maint/ssl/ECC/ERIERL-210/OTP-15203:
ssl: Make sure that a correct cipher suite is selected
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r-- | lib/ssl/src/ssl_cipher.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl index 50dadd0903..1aeb415bd9 100644 --- a/lib/ssl/src/ssl_cipher.erl +++ b/lib/ssl/src/ssl_cipher.erl @@ -2777,6 +2777,8 @@ ecdsa_signed_suites(Ciphers, Version) -> rsa_keyed(dhe_rsa) -> true; +rsa_keyed(ecdhe_rsa) -> + true; rsa_keyed(rsa) -> true; rsa_keyed(rsa_psk) -> @@ -2840,6 +2842,8 @@ ec_keyed(ecdh_ecdsa) -> true; ec_keyed(ecdh_rsa) -> true; +ec_keyed(ecdhe_ecdsa) -> + true; ec_keyed(_) -> false. |