aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2018-08-09 17:28:30 +0200
committerErlang/OTP <[email protected]>2018-08-09 17:28:30 +0200
commitdc4853b3073115c922d22d2a436c1f67840bd2f0 (patch)
treed0e1dade3d70cb3685a0887900f2957112e5a23b /lib/ssl/src
parent9d915e1b21f55d7efdd0e2b14b642ad3f4aadf90 (diff)
parent1e82b6329a8b53467453aba1ec52309094ab489d (diff)
downloadotp-dc4853b3073115c922d22d2a436c1f67840bd2f0.tar.gz
otp-dc4853b3073115c922d22d2a436c1f67840bd2f0.tar.bz2
otp-dc4853b3073115c922d22d2a436c1f67840bd2f0.zip
Merge branch 'ingela/ssl/ECC/ERIERL-210/OTP-15203' into maint-20
* ingela/ssl/ECC/ERIERL-210/OTP-15203: ssl: Make sure that a correct cipher suite is selected
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_cipher.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl
index 40d974f6a5..aa453fe3f1 100644
--- a/lib/ssl/src/ssl_cipher.erl
+++ b/lib/ssl/src/ssl_cipher.erl
@@ -2555,6 +2555,8 @@ ecdsa_signed_suites(Ciphers, Version) ->
rsa_keyed(dhe_rsa) ->
true;
+rsa_keyed(ecdhe_rsa) ->
+ true;
rsa_keyed(rsa) ->
true;
rsa_keyed(rsa_psk) ->
@@ -2618,6 +2620,8 @@ ec_keyed(ecdh_ecdsa) ->
true;
ec_keyed(ecdh_rsa) ->
true;
+ec_keyed(ecdhe_ecdsa) ->
+ true;
ec_keyed(_) ->
false.