aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_cipher.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-11-02 16:23:47 +0100
committerIngela Anderton Andin <[email protected]>2018-11-02 18:06:10 +0100
commite520555c54966e36d94004dd2c842a2be98fe2bc (patch)
tree466acf91ebefcbc5a96ff601f36d01d7423c38fe /lib/ssl/src/ssl_cipher.erl
parent1fe2896eb4671563452c46789984559a0bb01384 (diff)
downloadotp-e520555c54966e36d94004dd2c842a2be98fe2bc.tar.gz
otp-e520555c54966e36d94004dd2c842a2be98fe2bc.tar.bz2
otp-e520555c54966e36d94004dd2c842a2be98fe2bc.zip
ssl: Correct filter function
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
-rw-r--r--lib/ssl/src/ssl_cipher.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_cipher.erl b/lib/ssl/src/ssl_cipher.erl
index 0e22d63b4b..54c04c13e5 100644
--- a/lib/ssl/src/ssl_cipher.erl
+++ b/lib/ssl/src/ssl_cipher.erl
@@ -932,7 +932,7 @@ filter_suites_pubkey(ec, Ciphers, _, OtpCert) ->
ec_ecdhe_suites(Ciphers)),
filter_keyuse_suites(keyAgreement, Uses, CiphersSuites, ec_ecdh_suites(Ciphers)).
-filter_suites_signature(rsa, Ciphers, {3, N}) when N >= 3 ->
+filter_suites_signature(_, Ciphers, {3, N}) when N >= 3 ->
Ciphers;
filter_suites_signature(rsa, Ciphers, Version) ->
(Ciphers -- ecdsa_signed_suites(Ciphers, Version)) -- dsa_signed_suites(Ciphers, Version);