aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_handshake.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-05-31 10:56:10 +0200
committerIngela Anderton Andin <[email protected]>2016-05-31 10:56:10 +0200
commit962b25f3b2879a48a8cd0596ffad862beb82d4d9 (patch)
treed6c1b9bcb667e7f0134d0002c3406190ce3b8584 /lib/ssl/src/tls_handshake.erl
parent1a212675c4217bbedfab1e181a88b2fbe4cfa9c4 (diff)
parentd56242c69f84d7612aebd045255c41d85cbb1794 (diff)
downloadotp-962b25f3b2879a48a8cd0596ffad862beb82d4d9.tar.gz
otp-962b25f3b2879a48a8cd0596ffad862beb82d4d9.tar.bz2
otp-962b25f3b2879a48a8cd0596ffad862beb82d4d9.zip
Merge branch 'binarin/better-ssl-diagnostics/PR-1060/ERL-774/OTP-13632'
* binarin/better-ssl-diagnostics/PR-1060/ERL-774/OTP-13632: ssl: Remove error logger reports ssl: Better error handling of keys rejected by crypto Improve SSL diagnostics
Diffstat (limited to 'lib/ssl/src/tls_handshake.erl')
-rw-r--r--lib/ssl/src/tls_handshake.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake.erl b/lib/ssl/src/tls_handshake.erl
index f34eebb0e4..871eb970eb 100644
--- a/lib/ssl/src/tls_handshake.erl
+++ b/lib/ssl/src/tls_handshake.erl
@@ -167,7 +167,7 @@ handle_client_hello(Version, #client_hello{session_id = SugesstedId,
SslOpts, Cache, CacheCb, Cert),
case CipherSuite of
no_suite ->
- ?ALERT_REC(?FATAL, ?INSUFFICIENT_SECURITY);
+ ?ALERT_REC(?FATAL, ?INSUFFICIENT_SECURITY, no_suitable_ciphers);
_ ->
{KeyExAlg,_,_,_} = ssl_cipher:suite_definition(CipherSuite),
case ssl_handshake:select_hashsign(ClientHashSigns, Cert, KeyExAlg, SupportedHashSigns, Version) of