2c66e079ab
access_denied is only used to indicate client cert errors and Chrome maps it to ERR_SSL_BAD_CLIENT_AUTH_CERT accordingly: access_denied A valid certificate was received, but when access control was applied, the sender decided not to proceed with negotiation. This message is always fatal. We don't appear to be the cause of Chrome's recent ERR_SSL_BAD_CLIENT_AUTH_CERT spike, but we should send these correctly nonetheless. If the early callback fails, handshake_failure seems the most appropriate ("I was unable to find suitable parameters"). There isn't really an alert that matches DoS, but internal_error seems okay? internal_error An internal error unrelated to the peer or the correctness of the protocol (such as a memory allocation failure) makes it impossible to continue. This message is always fatal. There's nothing wrong, per se, with your ClientHello, but I just can't deal with it right now. Please go away. Change-Id: Icd1c998c09dc42daa4b309c1a4a0f136b85eb69d Reviewed-on: https://boringssl-review.googlesource.com/11084 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
custom_extensions.c | ||
d1_both.c | ||
d1_lib.c | ||
d1_pkt.c | ||
d1_srtp.c | ||
dtls_method.c | ||
dtls_record.c | ||
handshake_client.c | ||
handshake_server.c | ||
internal.h | ||
s3_both.c | ||
s3_enc.c | ||
s3_lib.c | ||
s3_pkt.c | ||
ssl_aead_ctx.c | ||
ssl_asn1.c | ||
ssl_buffer.c | ||
ssl_cert.c | ||
ssl_cipher.c | ||
ssl_ecdh.c | ||
ssl_file.c | ||
ssl_lib.c | ||
ssl_rsa.c | ||
ssl_session.c | ||
ssl_stat.c | ||
ssl_test.cc | ||
t1_enc.c | ||
t1_lib.c | ||
tls13_both.c | ||
tls13_client.c | ||
tls13_enc.c | ||
tls13_server.c | ||
tls_method.c | ||
tls_record.c |