boringssl/ssl
David Benjamin 602f4669ab Forbid empty CertificateRequestsupported_signature_algorithms in TLS 1.2.
See the IETF thread here:
https://www.ietf.org/mail-archive/web/tls/current/msg27292.html

In particular, although the original publication of RFC 5246 had a
syntax error in the field (the minimum length was unspecified), there is
an errata from 2012 to fix it to be non-empty.
https://www.rfc-editor.org/errata/eid2864

Currently, when empty, we implicitly interpret it as SHA1/*, matching
the server behavior in missing extension in ClientHellos. However that
text does not support doing it for CertificateRequests, and there is not
much reason to. That default (which is in itself confusing and caused
problems such as older OpenSSL only signing SHA-1 given SNI) was
because, at the time, there were concerns over making any ClientHello
extensions mandatory. This isn't applicable for CertificateRequest,
which can freely advertise their true preferences.

Change-Id: I113494d8f66769fde1362795fb08ff2f471ef31d
Reviewed-on: https://boringssl-review.googlesource.com/c/33524
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2018-12-11 20:08:12 +00:00
..
test Forbid empty CertificateRequestsupported_signature_algorithms in TLS 1.2. 2018-12-11 20:08:12 +00:00
bio_ssl.cc Switch a number of files to C++. 2017-07-12 20:54:02 +00:00
CMakeLists.txt Support symbol prefixes 2018-09-06 20:07:52 +00:00
d1_both.cc Remove the add_alert hook. 2018-09-15 00:55:02 +00:00
d1_lib.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
d1_pkt.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
d1_srtp.cc A bunch more scopers. 2018-07-06 19:43:08 +00:00
dtls_method.cc Remove the add_alert hook. 2018-09-15 00:55:02 +00:00
dtls_record.cc Another batch of bools. 2018-09-07 15:06:55 +00:00
handoff.cc Serialize SSL curve list in handoff and check it on application. 2018-11-06 01:19:10 +00:00
handshake_client.cc Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
handshake_server.cc Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
handshake.cc Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
internal.h Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
s3_both.cc Abstract hs_buf a little. 2018-11-09 19:01:04 +00:00
s3_lib.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
s3_pkt.cc Abstract hs_buf a little. 2018-11-09 19:01:04 +00:00
span_test.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
ssl_aead_ctx.cc Add an interface for QUIC integration. 2018-10-31 20:38:10 +00:00
ssl_asn1.cc Speculatively remove __STDC_*_MACROS. 2018-11-14 16:14:37 +00:00
ssl_buffer.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
ssl_cert.cc Another batch of bools. 2018-09-07 15:06:55 +00:00
ssl_cipher.cc Serialize SSL configuration in handoff and check it on application. 2018-11-02 19:45:42 +00:00
ssl_file.cc Avoid modifying stack in sk_find. 2018-04-12 21:02:12 +00:00
ssl_key_share.cc Drop some explicit SSLKeyShare destructors. 2018-12-03 22:51:05 +00:00
ssl_lib.cc Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
ssl_privkey.cc Another batch of bools. 2018-09-07 15:06:55 +00:00
ssl_session.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
ssl_stat.cc Remove trailing whitespace from ssl/. 2018-02-26 22:05:13 +00:00
ssl_test.cc Add post-handshake support for the QUIC API. 2018-11-14 18:54:36 +00:00
ssl_transcript.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
ssl_versions.cc Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
ssl_x509.cc Fix undefined function pointer casts in {d2i,i2d}_Foo_{bio,fp} 2018-10-01 17:34:53 +00:00
t1_enc.cc Support symbol prefixes 2018-09-06 20:07:52 +00:00
t1_lib.cc Forbid empty CertificateRequestsupported_signature_algorithms in TLS 1.2. 2018-12-11 20:08:12 +00:00
tls13_both.cc Work around a JDK 11 TLS 1.3 bug. 2018-11-21 18:22:57 +00:00
tls13_client.cc Forbid empty CertificateRequestsupported_signature_algorithms in TLS 1.2. 2018-12-11 20:08:12 +00:00
tls13_enc.cc Add an interface for QUIC integration. 2018-10-31 20:38:10 +00:00
tls13_server.cc Speculatively remove __STDC_*_MACROS. 2018-11-14 16:14:37 +00:00
tls_method.cc Remove the add_alert hook. 2018-09-15 00:55:02 +00:00
tls_record.cc Another batch of bools. 2018-09-07 15:06:55 +00:00