boringssl/ssl
Steven Valdez f4ecc84644 Prevent both early data and custom extensions from being accepted.
This loosens the earlier restriction to match Channel ID. Both may be
configured and offered, but the server is obligated to select only one
of them. This aligns with the current tokbind + 0-RTT draft where the
combination is signaled by a separate extension.

Bug: 183
Change-Id: I786102a679999705d399f0091f76da236be091c2
Reviewed-on: https://boringssl-review.googlesource.com/19124
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: Steven Valdez <svaldez@google.com>
2017-08-14 20:15:54 +00:00
..
test Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
bio_ssl.cc Switch a number of files to C++. 2017-07-12 20:54:02 +00:00
CMakeLists.txt Add bssl::SealRecord and bssl::OpenRecord. 2017-07-24 20:14:08 +00:00
custom_extensions.cc Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
d1_both.cc Replace init_msg/init_num with a get_message hook. 2017-08-08 21:13:04 +00:00
d1_lib.cc Remove expect and received flight hooks. 2017-08-07 02:10:03 +00:00
d1_pkt.cc Remove expect and received flight hooks. 2017-08-07 02:10:03 +00:00
d1_srtp.cc Switch BORINGSSL_INTERNAL_CXX_TYPES in favor of subclassing games. 2017-07-20 17:24:12 +00:00
dtls_method.cc Replace init_msg/init_num with a get_message hook. 2017-08-08 21:13:04 +00:00
dtls_record.cc Switch BORINGSSL_INTERNAL_CXX_TYPES in favor of subclassing games. 2017-07-20 17:24:12 +00:00
handshake_client.cc Tidy up handshake digest logic. 2017-08-09 19:13:15 +00:00
handshake_server.cc Tidy up handshake digest logic. 2017-08-09 19:13:15 +00:00
internal.h Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
s3_both.cc Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
s3_lib.cc Switch BORINGSSL_INTERNAL_CXX_TYPES in favor of subclassing games. 2017-07-20 17:24:12 +00:00
s3_pkt.cc Replace init_msg/init_num with a get_message hook. 2017-08-08 21:13:04 +00:00
span_test.cc Add bssl::SealRecord and bssl::OpenRecord. 2017-07-24 20:14:08 +00:00
ssl_aead_ctx.cc Make the bssl::SealRecord out_suffix arg fixed length. 2017-07-28 21:42:25 +00:00
ssl_asn1.cc Use new STACK_OF helpers. 2017-07-28 21:43:13 +00:00
ssl_buffer.cc Switch BORINGSSL_INTERNAL_CXX_TYPES in favor of subclassing games. 2017-07-20 17:24:12 +00:00
ssl_cert.cc Fix miscellaneous clang-tidy warnings. 2017-08-01 20:39:46 +00:00
ssl_cipher.cc Add OpenSSL 1.1.0's cipher property functions. 2017-08-11 02:08:58 +00:00
ssl_file.cc Switch BORINGSSL_INTERNAL_CXX_TYPES in favor of subclassing games. 2017-07-20 17:24:12 +00:00
ssl_key_share.cc Convert SSL_ECDH_CTX to C++. 2017-07-20 21:27:23 +00:00
ssl_lib.cc Add SSL_CTX_cipher_in_group. 2017-08-09 00:41:56 +00:00
ssl_privkey.cc More scopers. 2017-08-03 19:35:09 +00:00
ssl_session.cc Tidy up handshake digest logic. 2017-08-09 19:13:15 +00:00
ssl_stat.cc Replace reuse_message with an explicit next_message call. 2017-08-08 21:08:59 +00:00
ssl_test.cc Add OpenSSL 1.1.0's cipher property functions. 2017-08-11 02:08:58 +00:00
ssl_transcript.cc Tidy up handshake digest logic. 2017-08-09 19:13:15 +00:00
ssl_versions.cc Switch BORINGSSL_INTERNAL_CXX_TYPES in favor of subclassing games. 2017-07-20 17:24:12 +00:00
ssl_x509.cc More scopers. 2017-08-03 19:35:09 +00:00
t1_enc.cc Tidy up handshake digest logic. 2017-08-09 19:13:15 +00:00
t1_lib.cc Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
tls13_both.cc Replace init_msg/init_num with a get_message hook. 2017-08-08 21:13:04 +00:00
tls13_client.cc Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
tls13_enc.cc Tidy up handshake digest logic. 2017-08-09 19:13:15 +00:00
tls13_server.cc Prevent both early data and custom extensions from being accepted. 2017-08-14 20:15:54 +00:00
tls_method.cc Replace init_msg/init_num with a get_message hook. 2017-08-08 21:13:04 +00:00
tls_record.cc Fix a bug in bssl::OpenRecord. 2017-08-04 21:36:13 +00:00